diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 6b4b0891c..d708be3a0 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -5,6 +5,7 @@ on: - cron: '0 0 * * *' permissions: + actions: write issues: write pull-requests: write diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index a6f58c694..8cbea1e3f 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -4,6 +4,11 @@ on: schedule: - cron: '0 7 * * *' +permissions: + actions: write + issues: write + pull-requests: write + jobs: stale: runs-on: ubuntu-latest @@ -21,7 +26,6 @@ jobs: close-issue-label: 'closed' close-pr-label: 'closed' exempt-issue-labels: 'bug,enhancement,documentation,waiting,keep' + exempt-pr-labels: 'waiting,keep' exempt-all-milestones: true exempt-all-assignees: true - - name: Print outputs - run: echo ${{ join(steps.stale.outputs.*, ',') }}