Skip to content

on pull request

on pull request #170

Workflow file for this run

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: ./.github/workflows/detect-changed-files.yml
check_github_actions:
name: check github actions
needs: detect_changed_files
if: needs.detect_changed_files.outputs.github_actions == 'true'
uses: ./.github/workflows/check-github-actions.yml
check_markdown:
name: check markdown
needs: detect_changed_files
if: needs.detect_changed_files.outputs.markdown == 'true'
uses: ./.github/workflows/check-markdown.yml
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: ./.github/workflows/check-spelling.yml
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_spelling
if: always()
uses: ./.github/workflows/ready-to-merge.yml
with:
needs_context: ${{ toJson(needs) }}