[release/12.7.0] Release 12.7.0 (#1529) #1822
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: Calens Changelog | |
| # This workflow is triggered on pushes to the repository. | |
| on: | |
| push: | |
| branches: | |
| - master | |
| permissions: {} | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| name: Generate Calens Changelog | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| ref: "master" | |
| persist-credentials: false | |
| - uses: actionhippie/calens@244f3e5c328b842a740113859b87bbebf697f63b # v1.13.1 | |
| with: | |
| target: CHANGELOG.md | |
| - name: Generate GitHub App token | |
| id: app-token | |
| uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1.11.6 | |
| with: | |
| app-id: ${{ secrets.TRANSLATION_APP_ID }} | |
| private-key: ${{ secrets.TRANSLATION_APP_PRIVATE_KEY }} | |
| - name: Create or update changelog PR | |
| uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0 | |
| with: | |
| token: ${{ steps.app-token.outputs.token }} | |
| branch: chore/changelog-update | |
| base: master | |
| commit-message: "chore: update changelog" | |
| title: "chore: update changelog" | |
| body: "Automated changelog update via Calens. This pull request is updated on each push to `master` — merging it will close it and a fresh one will be opened on the next change." | |
| delete-branch: true | |
| sign-commits: true |