on pull request #430
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: on pull request | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| merge_group: | |
| types: | |
| - checks_requested | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| detect_changed_files: | |
| name: detect changed files | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| uses: EarthmanMuons/reusable-workflows/.github/workflows/detect-changed-files.yml@main | |
| check_flutter: | |
| name: check flutter | |
| needs: detect_changed_files | |
| if: needs.detect_changed_files.outputs.flutter == 'true' | |
| uses: EarthmanMuons/reusable-workflows/.github/workflows/check-flutter.yml@main | |
| check_github_actions: | |
| name: check github actions | |
| needs: detect_changed_files | |
| if: needs.detect_changed_files.outputs.github_actions == 'true' | |
| uses: EarthmanMuons/reusable-workflows/.github/workflows/check-github-actions.yml@main | |
| check_markdown: | |
| name: check markdown | |
| needs: detect_changed_files | |
| if: needs.detect_changed_files.outputs.markdown == 'true' | |
| uses: EarthmanMuons/reusable-workflows/.github/workflows/check-markdown.yml@main | |
| with: | |
| files: ${{ needs.detect_changed_files.outputs.markdown_files }} | |
| check_spelling: | |
| name: check spelling | |
| needs: detect_changed_files | |
| if: needs.detect_changed_files.outputs.added_or_modified == 'true' | |
| uses: EarthmanMuons/reusable-workflows/.github/workflows/check-spelling.yml@main | |
| ready_to_merge: | |
| name: ready to merge | |
| needs: | |
| - detect_changed_files | |
| - check_flutter | |
| - check_github_actions | |
| - check_markdown | |
| - check_spelling | |
| if: always() | |
| uses: EarthmanMuons/reusable-workflows/.github/workflows/ready-to-merge.yml@main | |
| with: | |
| needs_context: ${{ toJson(needs) }} |