Potential fix for code scanning alert no. 21: Workflow does not contain permissions (#23796)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
parent
d271b2b164
commit
4626972952
6 changed files with 15 additions and 0 deletions
2
.github/workflows/default.yml
vendored
2
.github/workflows/default.yml
vendored
|
|
@ -138,6 +138,8 @@ jobs:
|
|||
|
||||
ui:
|
||||
name: UI
|
||||
permissions:
|
||||
contents: read
|
||||
runs-on: depot-ubuntu-24.04-arm
|
||||
|
||||
steps:
|
||||
|
|
|
|||
3
.github/workflows/docs-issue.yml
vendored
3
.github/workflows/docs-issue.yml
vendored
|
|
@ -1,4 +1,7 @@
|
|||
name: Create Documentation Issue
|
||||
permissions:
|
||||
issues: write
|
||||
contents: read
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
|
|
|
|||
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
|
|
@ -1,4 +1,6 @@
|
|||
name: Nightly Build
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
schedule: # runs on the default branch: master
|
||||
|
|
|
|||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -15,6 +15,8 @@ jobs:
|
|||
needs:
|
||||
- call-build-workflow
|
||||
runs-on: depot-ubuntu-24.04-arm
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
|
|
|||
4
.github/workflows/stale.yaml
vendored
4
.github/workflows/stale.yaml
vendored
|
|
@ -9,6 +9,10 @@ on:
|
|||
|
||||
jobs:
|
||||
stale:
|
||||
permissions:
|
||||
contents: read
|
||||
issues: write
|
||||
pull-requests: write
|
||||
runs-on: depot-ubuntu-24.04-arm
|
||||
steps:
|
||||
- uses: actions/stale@v9
|
||||
|
|
|
|||
2
.github/workflows/website.yml
vendored
2
.github/workflows/website.yml
vendored
|
|
@ -1,4 +1,6 @@
|
|||
name: Deploy data to website
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
release:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue