summaryrefslogtreecommitdiff
path: root/.github/workflows/stale.yml
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2022-12-23 10:41:16 +1100
committerGitHub <noreply@github.com>2022-12-23 10:41:16 +1100
commitf75ac6042ed042c329ab3d1c9cec46b4c4b81918 (patch)
tree4b5c834d84bb7752e459243a2ec5893a64f3f5a9 /.github/workflows/stale.yml
parentb8a9de206d38f0e047c2f07bca398d6fe53b76a9 (diff)
Lock down workflow permissions. (#19406)
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to '.github/workflows/stale.yml')
-rw-r--r--.github/workflows/stale.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 297af8e19c..1c5b3e1197 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -1,13 +1,14 @@
name: 'Close stale issues and PRs'
-on:
- schedule:
- - cron: '30 1 * * *'
- workflow_dispatch:
permissions:
issues: write
pull-requests: write
+on:
+ schedule:
+ - cron: '30 1 * * *'
+ workflow_dispatch:
+
jobs:
stale:
runs-on: ubuntu-latest