Skip to content

Commit a530a27

Browse files
chore: update sync-release-version.yml to use commit hash for tags in docs (#2497)
Co-authored-by: GitHub Action <[email protected]>
1 parent 9cc867c commit a530a27

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/sync-release-version.yml

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
with:
2525
pattern: '${{ github.repository }}@'
2626
only_major: true
27+
use_tag_commit_hash: true
2728
paths: |
2829
README.md
2930
- name: Sync release package version.

.github/workflows/test.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
outputs:
3636
files_changed: ${{ steps.changed_files.outputs.files_changed }}
3737
permissions:
38-
contents: read
39-
pull-requests: write
38+
contents: write
39+
pull-requests: read
4040
steps:
4141
- uses: actions/checkout@v4
4242
with:
@@ -92,10 +92,9 @@ jobs:
9292
9393
- name: Push changes
9494
if: steps.changed_files.outputs.files_changed == 'true' && github.event_name == 'pull_request'
95-
continue-on-error: true
9695
uses: ad-m/github-push-action@master
9796
with:
98-
github_token: ${{ secrets.PAT_TOKEN }}
97+
github_token: ${{ secrets.GITHUB_TOKEN }}
9998
branch: ${{ github.head_ref }}
10099

101100
- name: Upload build assets

dist/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)