Skip to content

Commit 981d26e

Browse files
Update manual-tag.yml
1 parent ebc2d16 commit 981d26e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/manual-tag.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
run: |
2020
echo ${{ github.event.inputs.tag }}
2121
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 }}
22+
tag=${{ github.event.inputs.tag }}
23+
message='${{ github.event.inputs.tag }}: PR #${{ github.event.pull_request.number }} ${{ github.event.pull_request.title }}'
24+
git config user.name "${GITHUB_ACTOR}"
25+
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
26+
git tag -a "${tag}" -m "${message}"
27+
git push origin "${tag}"

0 commit comments

Comments
 (0)