calamares/.github/workflows/issues.yml
Adriaan de Groot ef47932deb CI: Remove some of the Matrix notification scripts
The GitHub Matrix-integration widget does these notifications,
more efficiently than running curl by hand.
2023-08-28 21:55:58 +02:00

19 lines
519 B
YAML

name: issues
on:
issues:
types: [opened, reopened, closed]
jobs:
notify:
runs-on: ubuntu-latest
steps:
- 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.number }}/labels/hacking%3A%20in-progress"