chore: Refactor release steps ensuring tag is created before running tests and creating release #175
Workflow file for this run
This file contains 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: Check migration guide | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize, edited] | |
jobs: | |
check: | |
if: ${{ contains(github.event.pull_request.title, '!') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 | |
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 | |
id: changes | |
with: | |
filters: | | |
guides: | |
- 'website/docs/guides/**' | |
- if: ${{ steps.changes.outputs.guides == 'false' }} | |
run: echo "PR with breaking changes but no migration guide was created or updated" && exit 1 |