From 39c5bcb50a2dc23c5c96334eebcce9579ba9d17e Mon Sep 17 00:00:00 2001 From: Niklas Merz Date: Thu, 3 Sep 2020 12:04:56 +0200 Subject: [PATCH 1/3] chore: add release notify action --- .github/workflows/release-notify.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/release-notify.yml diff --git a/.github/workflows/release-notify.yml b/.github/workflows/release-notify.yml new file mode 100644 index 000000000..a3b0370a3 --- /dev/null +++ b/.github/workflows/release-notify.yml @@ -0,0 +1,16 @@ +name: Close issue asking for release + +on: + issues: + types: [opened] + issue_comment: + types: [created] + + +jobs: + action-test: + runs-on: ubuntu-latest + steps: + - uses: niklasmerz/release-notify@master + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From e455d7b72654bd89b3da9fe8a820b69856707363 Mon Sep 17 00:00:00 2001 From: Niklas Merz Date: Thu, 3 Sep 2020 17:53:29 +0200 Subject: [PATCH 2/3] Do not run action on issue comments Comments about releases should not close issues --- .github/workflows/release-notify.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release-notify.yml b/.github/workflows/release-notify.yml index a3b0370a3..d2f420aec 100644 --- a/.github/workflows/release-notify.yml +++ b/.github/workflows/release-notify.yml @@ -3,8 +3,6 @@ name: Close issue asking for release on: issues: types: [opened] - issue_comment: - types: [created] jobs: @@ -13,4 +11,4 @@ jobs: steps: - uses: niklasmerz/release-notify@master with: - repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + repo-token: ${{ secrets.GITHUB_TOKEN }} From 568374b3ef37bf960b510b093a5ef6d317a2bc7e Mon Sep 17 00:00:00 2001 From: Erisu Date: Wed, 11 Aug 2021 16:00:49 +0900 Subject: [PATCH 3/3] chore: remove extra new line --- .github/workflows/release-notify.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/release-notify.yml b/.github/workflows/release-notify.yml index d2f420aec..d9a76f15b 100644 --- a/.github/workflows/release-notify.yml +++ b/.github/workflows/release-notify.yml @@ -3,7 +3,6 @@ name: Close issue asking for release on: issues: types: [opened] - jobs: action-test: