test: fix golden tests to skip on non-macOS platforms #10
This file contains hidden or 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: Changelog | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| changelog: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Generate CHANGELOG | |
| run: | | |
| git log --pretty=format:"- %s (%h)" HEAD~20..HEAD > CHANGELOG.md | |
| - name: Commit CHANGELOG | |
| run: | | |
| git config --local user.email "github-actions[bot]@users.noreply.github.com" | |
| git config --local user.name "github-actions[bot]" | |
| git add CHANGELOG.md | |
| git commit -m "docs: update CHANGELOG" || echo "No changes" |