diff --git a/.github/workflows/invalid_question.yml b/.github/workflows/invalid_question.yml index 868bcc34..327a70f6 100644 --- a/.github/workflows/invalid_question.yml +++ b/.github/workflows/invalid_question.yml @@ -3,8 +3,14 @@ on: schedule: - cron: "*/10 * * * *" +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 env: ACTIONS_STEP_DEBUG: true diff --git a/.github/workflows/missing_playground.yml b/.github/workflows/missing_playground.yml index 3efc90f7..15d3850f 100644 --- a/.github/workflows/missing_playground.yml +++ b/.github/workflows/missing_playground.yml @@ -3,8 +3,14 @@ on: schedule: - cron: "*/10 * * * *" +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 env: ACTIONS_STEP_DEBUG: true diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index e0be186f..c5e0d7ab 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -3,8 +3,14 @@ on: schedule: - cron: "0 2 * * *" +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 env: ACTIONS_STEP_DEBUG: true diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8194e609..8bfb2332 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,6 +8,9 @@ on: branches-ignore: - 'gh-pages' +permissions: + contents: read + jobs: # Label of the container job sqlite: