summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2026-05-25 13:53:36 +0300
committerGitHub <noreply@github.com>2026-05-25 13:53:36 +0300
commit894e50455fa5f894116345c4016ad308252eec89 (patch)
tree5e19c7ef03c30f56ae8b6cc3772631f6cd09ae48 /.github
parent6b08e45846703f054f8c284e95cdde4316ea55aa (diff)
parent761c4fad719bcc8d1682744eebe96f9bb9f018b0 (diff)
downloadvyos-cloud-init-894e50455fa5f894116345c4016ad308252eec89.tar.gz
vyos-cloud-init-894e50455fa5f894116345c4016ad308252eec89.zip
Merge pull request #99 from kumvijaya/current
T8917: Updated stale check workflow to use common workflow
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/check-stale.yml13
-rw-r--r--.github/workflows/stale.yml24
2 files changed, 13 insertions, 24 deletions
diff --git a/.github/workflows/check-stale.yml b/.github/workflows/check-stale.yml
new file mode 100644
index 00000000..2adbee2f
--- /dev/null
+++ b/.github/workflows/check-stale.yml
@@ -0,0 +1,13 @@
+name: "Issue and PR stale management"
+on:
+ schedule:
+ - cron: "0 0 * * *"
+
+permissions:
+ pull-requests: write
+ contents: read
+
+jobs:
+ stale:
+ uses: vyos/.github/.github/workflows/check-stale.yml@current
+ secrets: inherit
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
deleted file mode 100644
index 64bdf4d3..00000000
--- a/.github/workflows/stale.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-name: Mark and close stale pull requests
-
-on:
- schedule:
- - cron: "0 0 * * *" # Daily @ 00:00
-
-jobs:
- stale:
-
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/stale@v10
- with:
- repo-token: ${{ secrets.GITHUB_TOKEN }}
- days-before-stale: 14
- days-before-close: 7
- stale-pr-message: |
- Hello! Thank you for this proposed change to cloud-init. This pull request is now marked as stale as it has not seen any activity in 14 days. If no activity occurs within the next 7 days, this pull request will automatically close.
-
- If you are waiting for code review and you are seeing this message, apologies! Please reply, tagging TheRealFalcon, and he will ensure that someone takes a look soon.
-
- (If the pull request is closed and you would like to continue working on it, please do tag TheRealFalcon to reopen it.)
- stale-pr-label: 'stale-pr'