Skip to content

Commit 7a6d331

Browse files
authored
Merge pull request #4266 from GordonSmith/RELEASE_PLEASE_GH_ACTIONS
fix: Publish step failing
2 parents 0ef1477 + e05d87d commit 7a6d331

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/release-please.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,15 @@ jobs:
108108
# with:
109109
# github-token: ${{ secrets.GITHUB_TOKEN }}
110110

111+
- name: push stamped release
112+
if: ${{ steps.release.outputs.release_created }}
113+
run: |
114+
git config user.name github-actions[bot]
115+
git config user.email 4104672+github-actions[bot]@users.noreply.github.com
116+
git remote add gh-token "https://${{ secrets.GITHUB_TOKEN}}@github.com/yargs/yargs.git"
117+
git commit -a -m 'chore: stamp files for release'
118+
git push origin
119+
111120
- name: Publish
112121
if: ${{ steps.release.outputs.release_created }}
113122
env:

0 commit comments

Comments
 (0)