summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVijayakumar A <36878324+kumvijaya@users.noreply.github.com>2026-05-22 23:57:05 +0530
committerGitHub <noreply@github.com>2026-05-22 23:57:05 +0530
commit761c4fad719bcc8d1682744eebe96f9bb9f018b0 (patch)
tree5e19c7ef03c30f56ae8b6cc3772631f6cd09ae48
parent6b08e45846703f054f8c284e95cdde4316ea55aa (diff)
downloadvyos-cloud-init-761c4fad719bcc8d1682744eebe96f9bb9f018b0.tar.gz
vyos-cloud-init-761c4fad719bcc8d1682744eebe96f9bb9f018b0.zip
T8917: Updated stale check workflow to use common workflow
-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'