ci: Issue label triggers

This commit is contained in:
jamesread 2024-10-09 18:05:12 +01:00
parent 76cc074c77
commit 26a7d5a3f7
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
---
name: Issue Label Triggers
on:
issues:
types:
- labeled
jobs:
closed-public-website:
if: github.event.label.name == 'closed-public-website'
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Add comment
run: gh issue comment "$NUMBER" --body "$BODY"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
BODY: >
This issue concerns the public website, which is not open source and is not part of this repository.
If you have a question or concern about the content of the public website, please contact Nevo David.
If you are looking to contribute to the open source Postiz project code, this is the correct repository, and we welcome your contributions in a new GitHub issue.