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: Run on Release Publish | |
on: | |
release: | |
types: [published] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Get release description | |
working-directory: packages/js | |
run: | | |
echo "## Release: ${{ github.event.release.name }}" >> CHANGELOG.md | |
echo "${{ github.event.release.body }}" >> CHANGELOG.md | |
echo "" >> CHANGELOG.md | |
- name: Commit and push changes | |
working-directory: packages/js | |
run: | | |
git config user.name TelnyxIntegrations | |
git config user.email [email protected] | |
git add CHANGELOG.md | |
git commit --no-verify -m "Update CHANGELOG with release ${{ github.event.release.tag_name }}" | |
git push origin main | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |