diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-28 13:27:43 +0300 |
|---|---|---|
| committer | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-28 13:27:43 +0300 |
| commit | 637f94f904ce111dc63b6c3b8b78147485037db8 (patch) | |
| tree | bb0cdfdfdbdb66f72191230d60e7d9c64320fb61 | |
| parent | 238d835823ee94b2060454e1a270176001d46345 (diff) | |
| download | vyos-1x-637f94f904ce111dc63b6c3b8b78147485037db8.tar.gz vyos-1x-637f94f904ce111dc63b6c3b8b78147485037db8.zip | |
T8782: remove dormant pr-auto-close.yml on current
This workflow was a newer copy of the per-branch pr-auto-close.yml
files, with a branch filter targeting both sagitta and circinus.
It never actually fired: pull_request_target evaluates the workflow
from the PR's TARGET branch, not the default branch. PRs targeting
sagitta used .github/workflows/pr-auto-close.yml from the sagitta
branch; PRs targeting circinus used circinus's copy. The file on
current matched no events.
Functionality is now centralized in the Mergify config at vyos/mergify
(see PR vyos/mergify#13, merged). vyos/vyos-1x extends that baseline
via .github/mergify.yml on this branch.
Sibling cleanup of vyos/vyos-1x#5228 (sagitta) and the parallel
PR removing circinus's copy.
| -rw-r--r-- | .github/workflows/pr-auto-close.yml | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/.github/workflows/pr-auto-close.yml b/.github/workflows/pr-auto-close.yml deleted file mode 100644 index a04707da9..000000000 --- a/.github/workflows/pr-auto-close.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Auto-Close Pull Requests - -on: - pull_request_target: - types: - - opened - - reopened - branches: - - circinus - - sagitta - -permissions: - pull-requests: write - issues: write - contents: read - -jobs: - run: - runs-on: ubuntu-latest - if: github.repository_owner == 'vyos' - steps: - - uses: superbrothers/close-pull-request@9c18513d320d7b2c7185fb93396d0c664d5d8448 #v3 - with: - comment: "Pull requests to this branch are not accepted and have been closed automatically." - github_token: ${{ github.token }} |
