Auto-close new issues.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
This commit is contained in:
Jan Kaluza 2025-08-27 13:27:34 +02:00
parent 2d1321dcb6
commit 7bafa3dad2
1 changed files with 8 additions and 5 deletions

View File

@ -5,9 +5,12 @@ on:
jobs:
auto_close_issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Close Issue
uses: peter-evans/close-issue@276d7966e389d888f011539a86c8920025ea0626
with:
comment: |
This repository has been migrated to https://github.com/containers/container-libs. Please open your issue there.
- name: Close issue
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
ISSUE: ${{ github.event.issue.number }}
run: gh issue close --repo "$REPO" --comment "This repository has been migrated to https://github.com/containers/container-libs. Please open your issue there." "$ISSUE"