summaryrefslogtreecommitdiff
path: root/.github/workflows/stale.yml
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-03-28 22:44:12 +0200
committerGitHub <noreply@github.com>2022-03-28 22:44:12 +0200
commit914e9b3f7057394401b45bbb732fb573414356ff (patch)
treec94b76ce6e35b4ad8b60943311695b4799b80a3c /.github/workflows/stale.yml
parentc75030590cc992d87dbd8dc02501d3bad257fd84 (diff)
parent1821eb3837a81bf666ed87e5ccb3da4e190a9aba (diff)
downloadpodman-914e9b3f7057394401b45bbb732fb573414356ff.tar.gz
podman-914e9b3f7057394401b45bbb732fb573414356ff.tar.bz2
podman-914e9b3f7057394401b45bbb732fb573414356ff.zip
Merge pull request #13564 from naveensrinivasan/naveen/feat/pin-actions
[CI:DOCS] Pin actions to a full length commit SHA
Diffstat (limited to '.github/workflows/stale.yml')
-rw-r--r--.github/workflows/stale.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index d6f92873e..b340c9238 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -7,13 +7,19 @@ on:
schedule:
- cron: "0 0 * * *"
+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
+ - uses: actions/stale@98ed4cb500039dbcccf4bd9bedada4d0187f2757 # v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'A friendly reminder that this issue had no activity for 30 days.'