Merge pull request #1387 from turrisxyz/Pinned-Dependencies-GitHub

chore: Set permissions for GitHub actions
This commit is contained in:
Jared Beck 2022-06-12 23:24:28 -04:00 committed by GitHub
commit f7462ea7ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -3,8 +3,14 @@ on:
schedule:
- cron: '30 1 * * *'
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:
- uses: actions/stale@v3

View File

@ -1,5 +1,8 @@
name: gha-workflow-pt-test
on: [push, pull_request]
permissions:
contents: read
jobs:
# Linting is a separate job, primary because it only needs to be done once,