Update Snapshot #16172
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: 'Update Snapshot' | |
| on: | |
| schedule: | |
| - cron: '0 * * * *' | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| token: ${{ secrets.PAT }} | |
| - uses: jcs090218/setup-emacs@master | |
| with: | |
| version: 29.1 | |
| - uses: emacs-eask/setup-eask@master | |
| with: | |
| version: snapshot | |
| - name: Update snapshot | |
| run: | | |
| eask install-deps --dev | |
| eask load ./scripts/update-snapshot.el | |
| - name: Set git config | |
| run: | | |
| git config user.name github-actions | |
| git config user.email [email protected] | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v8 | |
| with: | |
| token: ${{ secrets.PAT }} | |
| title: 'Update emacs snapshots' | |
| body: '' | |
| commit-message: 'Update emacs snapshots' | |
| branch: snapshot-update | |
| delete-branch: true |