We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c6ae5b commit c347bccCopy full SHA for c347bcc
1 file changed
.github/workflows/tag-on-merge.yml
@@ -18,8 +18,14 @@ jobs:
18
PATCH=$(($LASTPATCH+1))
19
echo "::set-output name=tagname::2.1.${PATCH})"
20
21
- - name: Create tag
22
- uses: negz/create-tag@v1
+ - name: Create Tag
+ uses: actions/github-script@v3
23
with:
24
- version: ${{ steps.compute-tag.outputs.tagname }}
25
- token: ${{ secrets.GITHUB_TOKEN }}
+ github-token: ${{ github.token }}
+ script: |
26
+ github.git.createRef({
27
+ owner: context.repo.owner,
28
+ repo: context.repo.repo,
29
+ ref: "refs/tags/${{ steps.compute-tag.outputs.tagname }}",
30
+ sha: context.sha
31
+ })
0 commit comments