-
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflow for issues that affect only 4.1
- Loading branch information
1 parent
a28f422
commit 821e797
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Apply the label to close Qubes 4.1 issues with a suitable comment | ||
on: | ||
issues: | ||
types: | ||
- labeled | ||
jobs: | ||
add-comment: | ||
if: github.event.label.name == 'eol-4.1' | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- name: Create comment | ||
uses: peter-evans/create-or-update-comment@v4 | ||
with: | ||
issue-number: ${{ github.event.issue.number }} | ||
body: | | ||
This issue is being closed because: | ||
- This issue is believed to affect only Qubes OS 4.1 (and possibly earlier). | ||
- [Qubes OS 4.1 has reached end-of-life (EOL).](https://www.qubes-os.org/news/2024/06/18/qubes-os-4-1-has-reached-end-of-life-extended-security-support-continues-until-2024-07-31/) | ||
If anyone believes that this issue should be reopened, please leave a comment saying so. | ||
(For example, if a bug still affects Qubes OS 4.2, then the comment "Affects 4.2" will suffice.) | ||
- name: Close Issue | ||
uses: peter-evans/close-issue@v3 | ||
with: | ||
issue-number: ${{ github.event.issue.number }} | ||
close-reason: not_planned |