From 761c4fad719bcc8d1682744eebe96f9bb9f018b0 Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Fri, 22 May 2026 23:57:05 +0530 Subject: T8917: Updated stale check workflow to use common workflow --- .github/workflows/check-stale.yml | 13 +++++++++++++ .github/workflows/stale.yml | 24 ------------------------ 2 files changed, 13 insertions(+), 24 deletions(-) create mode 100644 .github/workflows/check-stale.yml delete mode 100644 .github/workflows/stale.yml (limited to '.github/workflows') 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' -- cgit v1.2.3