Skip to content

Commit

Permalink
Merge pull request #545 from carlewis/token-permissions
Browse files Browse the repository at this point in the history
Add top-level permissions to workflows
  • Loading branch information
carlewis authored Oct 2, 2024
2 parents 18d0780 + 9c7aa5b commit 20f29df
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build_pr_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions: {}

jobs:

build_pr_ock:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/create_llvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ on:
- '.github/workflows/create_llvm.yml'
workflow_dispatch:

permissions: {}

jobs:
create_llvm_cache:
strategy:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/create_publish_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- stable
workflow_dispatch:

permissions: {}

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions: {}

jobs:
# Build job
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/run_ock_demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions: {}

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/run_pr_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions: {}

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand Down

0 comments on commit 20f29df

Please sign in to comment.