File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 :
You can’t perform that action at this time.
0 commit comments