We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34f83b8 commit 46dde5bCopy full SHA for 46dde5b
1 file changed
.github/workflows/release.yml
@@ -18,12 +18,15 @@ jobs:
18
19
- name: Create Tag
20
id: create_tag
21
+ env:
22
+ GH_PAT: ${{ secrets.GH_PAT }}
23
run: |
24
BRANCH_NAME="${GITHUB_REF##*/}"
25
TAG_NAME="${BRANCH_NAME}-auto-$(date +'%Y%m%d-%H%M%S')"
26
git config user.name "github-actions"
27
git config user.email "github-actions@github.com"
28
git tag $TAG_NAME
29
+ git remote set-url origin https://x-access-token:${GH_PAT}@github.com/${GITHUB_REPOSITORY}.git
30
git push origin $TAG_NAME
31
echo "tag_name=$TAG_NAME" >> $GITHUB_OUTPUT
32
0 commit comments