Repository navigation
Stop generating per-repository release guides #37
Workflow file for this run
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: Validate release | |
| on: | |
| pull_request: | |
| branches: ["main"] | |
| permissions: | |
| contents: read | |
| env: | |
| BUNDLE_WITH: maintenance | |
| jobs: | |
| validate: | |
| name: Release validation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: "3.4" | |
| bundler-cache: true | |
| - name: Regenerate release content | |
| env: | |
| RELEASE_BASE: ${{ github.event.pull_request.base.sha }} | |
| run: bundle exec bake gem:release:validate "base=$RELEASE_BASE" optional=true | |
| - name: Build unsigned package | |
| run: bundle exec bake gem:build signing_key=false |