summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-06-27 08:54:16 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-06-27 08:54:16 +0200
commitc909a9fa208e2d3282d7175979915fb366e594d5 (patch)
treee039a4194b5dc2c80746f7999b33456a5550d81a
parentMerge pull request #11477 from LabNConsulting/chopps/fix-config-load (diff)
downloadfrr-c909a9fa208e2d3282d7175979915fb366e594d5.tar.xz
frr-c909a9fa208e2d3282d7175979915fb366e594d5.zip
github: Set strict permissions for stale actions for Github
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
-rw-r--r--.github/workflows/stale.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index aea81e9e1..45095b3dd 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -5,8 +5,14 @@ on:
schedule:
- cron: "30 1 * * *"
+permissions:
+ contents: read
+
jobs:
stale:
+ permissions:
+ issues: write
+ pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5