Skip to content

Commit 4bbb620

Browse files
Don't close issue
We no longer have a release issue, let's remove this code.
1 parent 874acf3 commit 4bbb620

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

.github/workflows/publish-new-release.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,6 @@ jobs:
2929
3030
echo "::set-env name=RELEASE_VERSION::$VERSION"
3131
32-
# Unfortunately, GitHub doesn't trigger events for actions that have been taken by a GitHub action.
33-
# This means we cannot use `Fixes #issue_number.` in the body of the PR to close the release issue after the branch is merged.
34-
# Hence, we close it here "manually"
35-
- name: Close release issue
36-
run: |
37-
RELEASE_ISSUE_URL=$(curl https://api.github.com/repos/${{ github.repository }}/issues\?labels=release\&state=open | jq -r '.[0].url')
38-
39-
curl \
40-
-X PATCH \
41-
-H 'Accept: application/vnd.github.v3+json' \
42-
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
43-
-H "Content-Type: application/json" \
44-
$RELEASE_ISSUE_URL \
45-
-d '{"state":"closed"}'
46-
4732
- name: Create Release
4833
uses: thomaseizinger/create-release@1.0.0
4934
env:

0 commit comments

Comments
 (0)