Skip to content

Commit

Permalink
Move permissions to job level (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinwallimann authored Jul 12, 2023
1 parent 4ca1732 commit 7cd35cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build-scala2.12-spark3.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@ on:
pull_request:
branches: [ master ]

permissions:
contents: read
pull-requests: write

jobs:
build:

runs-on: ubuntu-latest

permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/build-scala2.13-spark3.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@ on:
pull_request:
branches: [ master ]

permissions:
contents: read
pull-requests: write

jobs:
build:

runs-on: ubuntu-latest

permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
Expand Down

0 comments on commit 7cd35cc

Please sign in to comment.