Push onypwkzsynku #139
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: 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 | |
jobs: | |
detect_changed_files: | |
name: detect changed files | |
permissions: | |
pull-requests: read | |
uses: EarthmanMuons/reusable-workflows/.github/workflows/detect-changed-files.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_rust: | |
name: check rust | |
needs: detect_changed_files | |
if: needs.detect_changed_files.outputs.rust == 'true' | |
uses: EarthmanMuons/reusable-workflows/.github/workflows/check-rust.yml@main | |
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 | |
with: | |
files: ${{ needs.detect_changed_files.outputs.added_or_modified_files }} | |
ready_to_merge: | |
name: ready to merge | |
needs: | |
- detect_changed_files | |
- check_github_actions | |
- check_markdown | |
- check_rust | |
- check_spelling | |
if: always() | |
uses: EarthmanMuons/reusable-workflows/.github/workflows/ready-to-merge.yml@main | |
with: | |
needs_context: ${{ toJson(needs) }} |