Skip to content

Commit 46dde5b

Browse files
committed
runner test
1 parent 34f83b8 commit 46dde5b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,15 @@ jobs:
1818

1919
- name: Create Tag
2020
id: create_tag
21+
env:
22+
GH_PAT: ${{ secrets.GH_PAT }}
2123
run: |
2224
BRANCH_NAME="${GITHUB_REF##*/}"
2325
TAG_NAME="${BRANCH_NAME}-auto-$(date +'%Y%m%d-%H%M%S')"
2426
git config user.name "github-actions"
2527
git config user.email "github-actions@github.com"
2628
git tag $TAG_NAME
29+
git remote set-url origin https://x-access-token:${GH_PAT}@github.com/${GITHUB_REPOSITORY}.git
2730
git push origin $TAG_NAME
2831
echo "tag_name=$TAG_NAME" >> $GITHUB_OUTPUT
2932

0 commit comments

Comments
 (0)