We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebc2d16 commit 981d26eCopy full SHA for 981d26e
.github/workflows/manual-tag.yml
@@ -19,9 +19,9 @@ jobs:
19
run: |
20
echo ${{ github.event.inputs.tag }}
21
echo "NEXT_VERSION=${{ github.event.inputs.tag }}" >> $GITHUB_ENV
22
- - name: Create tag
23
- uses: actions-ecosystem/action-push-tag@v1
24
- env:
25
- GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
26
- with:
27
- tag: ${{ env.NEXT_VERSION }}
+ tag=${{ github.event.inputs.tag }}
+ message='${{ github.event.inputs.tag }}: PR #${{ github.event.pull_request.number }} ${{ github.event.pull_request.title }}'
+ git config user.name "${GITHUB_ACTOR}"
+ git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
+ git tag -a "${tag}" -m "${message}"
+ git push origin "${tag}"
0 commit comments