Skip to content

Commit

Permalink
GitHub Workflows security hardening (apache#4467)
Browse files Browse the repository at this point in the history
* build: harden frontend.yml permissions
Signed-off-by: Alex <[email protected]>

* build: harden core.yml permissions
Signed-off-by: Alex <[email protected]>
  • Loading branch information
sashashura authored and proceane committed Feb 16, 2023
1 parent f685271 commit 47008de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ defaults:
run:
shell: bash -l {0}

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
# test on core-modules (zeppelin-interpreter,zeppelin-zengine,zeppelin-server),
# some interpreters are included, because zeppelin-server test depends on them: spark, shell & markdown
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ env:
ZEPPELIN_LOCAL_IP: 127.0.0.1
INTERPRETERS: '!hbase,!jdbc,!file,!flink,!cassandra,!elasticsearch,!bigquery,!alluxio,!livy,!groovy,!java,!neo4j,!submarine,!sparql,!mongodb'

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
run-e2e-tests-in-zeppelin-web:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 47008de

Please sign in to comment.