Skip to content

Commit

Permalink
Add read-all permissions to all workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
zijchen committed Jan 23, 2024
1 parent 96cea35 commit c4dd5ce
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check-lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ jobs:
check-lib:
name: Check main.js
runs-on: ubuntu-latest
permissions: read-all
steps:
- name: Check out
uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ jobs:
build_test_job:
name: 'Build and test job'
runs-on: ${{ matrix.os }}
permissions: read-all
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/defaultLabels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
permissions: read-all

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
deploy:
environment: Automation test # this environment requires approval before running the action
runs-on: ${{ matrix.os }}
permissions: read-all
continue-on-error: true
strategy:
matrix:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/run-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ jobs:
trigger-integration-tests:
name: Trigger Integration Tests
runs-on: ubuntu-latest
permissions: read-all
steps:
- name: Trigger test run
run: |
Expand Down

0 comments on commit c4dd5ce

Please sign in to comment.