Repository navigation
ci: Publish binaries and Docker images on release #2
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: Semantic PR | |
| # pull_request, not pull_request_target: the check only reads the title, so | |
| # a fork's read-only token is enough, and the repository keeps no | |
| # pull_request_target job (a condition of running on forge's public runners). | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize, reopened] | |
| permissions: | |
| pull-requests: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| title: | |
| name: Conventional PR title | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 4 | |
| steps: | |
| # Squash-merge uses the PR title as the commit message, so linting the | |
| # title is what keeps master's history conventional for release-please. | |
| # The scope is the crate, e.g. `feat(store): ...`. | |
| - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| types: | | |
| feat | |
| fix | |
| docs | |
| test | |
| refactor | |
| perf | |
| build | |
| ci | |
| chore | |
| revert |