Trigger for public website issues

This commit is contained in:
jamesread 2024-10-09 18:14:49 +01:00
parent 26a7d5a3f7
commit 7b56badaec
1 changed files with 4 additions and 2 deletions

View File

@ -7,13 +7,13 @@ on:
jobs:
closed-public-website:
if: github.event.label.name == 'closed-public-website'
if: github.event.label.name == 'trigger-public-website'
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Add comment
run: gh issue comment "$NUMBER" --body "$BODY"
run: gh issue comment "$NUMBER" --body "$BODY" && gh issue close "$NUMBER"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
@ -21,6 +21,8 @@ jobs:
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.