Skip to content

Commit

Permalink
Merge pull request #901 from turrisxyz/setup-permissions
Browse files Browse the repository at this point in the history
chore: Set permissions for GitHub actions
  • Loading branch information
othercorey authored May 10, 2022
2 parents 3a5e956 + 5e8a0c8 commit ebcc360
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
branches:
- '*'

permissions:
contents: read

jobs:
testsuite:
runs-on: ubuntu-18.04
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ on:
schedule:
- cron: "0 0 * * *"

permissions:
contents: read

jobs:
stale:

permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit ebcc360

Please sign in to comment.