Release Action #113
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Action | |
on: | |
release: | |
types: | |
- published | |
# env: | |
# GH_TOKEN: ${{ secrets.GH_TOKEN_COMMIT }} | |
jobs: | |
test-action: | |
runs-on: ubuntu-latest | |
name: Update Release | |
steps: | |
- name: Checkout | |
id: checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: '3.x' | |
fetch-depth: 0 | |
# token: ${{ secrets.GH_TOKEN_COMMIT }} | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: Update RELEASES.MD | |
uses: vonage/[email protected] | |
- name: DEbug | |
run: | | |
echo https://${{ secrets.GH_TOKEN_COMMIT }}@github.com/${{ github.repository }} | |
- name: Commit release | |
run: | | |
git config --local user.name github-actions | |
git config --local user.email [email protected] | |
git add RELEASES.md | |
git commit -m "chore: updated release log" | |
git push --force-with-lease https://${{ secrets.GH_TOKEN_COMMIT }}@github.com/${{ github.repository }} |