Skip to content

Commit

Permalink
Merge pull request #3289 from github/jm_fix_code_scan_alerts_workflow…
Browse files Browse the repository at this point in the history
…_permissions

fix: code scanning alerts re: workflows permissions
  • Loading branch information
jmeridth committed Sep 4, 2024
2 parents eb6147d + bdd96dd commit 28af371
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
workflow_dispatch:
schedule:
- cron: "0 12 * * *"
permissions:
contents: read
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ name: GitHub Actions CI
on:
push:
branches: master
pull_request: []
pull_request:
merge_group:
permissions:
contents: read
jobs:
tests:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 28af371

Please sign in to comment.