mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-23 18:35:44 -05:00
CI: remove in-progress label when closing an issue
This commit is contained in:
parent
8f81fd7188
commit
7019b6d663
1 changed files with 9 additions and 1 deletions
10
.github/workflows/issues.yml
vendored
10
.github/workflows/issues.yml
vendored
|
@ -5,7 +5,7 @@ on:
|
||||||
types: [opened, reopened, closed]
|
types: [opened, reopened, closed]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
irc:
|
notify:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: "notify: new"
|
- name: "notify: new"
|
||||||
|
@ -22,3 +22,11 @@ jobs:
|
||||||
token: ${{ secrets.MATRIX_TOKEN }}
|
token: ${{ secrets.MATRIX_TOKEN }}
|
||||||
room: ${{ secrets.MATRIX_ROOM }}
|
room: ${{ secrets.MATRIX_ROOM }}
|
||||||
message: "CLOSED ${{ github.event.issue.html_url }} by ${{ github.actor }} ${{ github.event.issue.title }}"
|
message: "CLOSED ${{ github.event.issue.html_url }} by ${{ github.actor }} ${{ github.event.issue.title }}"
|
||||||
|
- name: "remove in-progress label"
|
||||||
|
if: github.event.issue.state != 'open'
|
||||||
|
run: |
|
||||||
|
curl -X DELETE \
|
||||||
|
-H 'Accept: application/vnd.github.v3+json' \
|
||||||
|
-H 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
|
||||||
|
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.id }}/labels/hacking%3A+in-progress
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue