ci: auto-merge Dependabot dev-dependency updates (#93) #109
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: "Pre-release" | |
| # Rolling development build. Every push to main runs the full quality gate and, | |
| # if green, refreshes the single "latest" pre-release with the freshly packaged | |
| # extension. Pull requests are covered by ci.yml, so this only runs post-merge. | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: pre-release | |
| cancel-in-progress: true | |
| jobs: | |
| ci: | |
| uses: ./.github/workflows/ci.yml | |
| publish-latest: | |
| name: "Rolling pre-release" | |
| needs: ci | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Download packaged extension | |
| uses: actions/download-artifact@v8 | |
| with: | |
| name: mortality-zip | |
| path: artifacts | |
| - name: Publish rolling pre-release | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| gh release delete latest --yes --cleanup-tag || true | |
| gh release create latest artifacts/mortality-*.zip \ | |
| --title "Development Build" --prerelease \ | |
| --notes "Latest development build" |