aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/check-pr.yml
blob: 55c7dcfa9e19239f9f5eb05d182aff02acc5badd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: Checks

on:
  # PRs only on main branch
  pull_request:
    branches: [main]

jobs:
  check:
    name: Check Recipe Version Bump
    runs-on: ubuntu-22.04
    steps:
      - name: Checkout code
        uses: actions/checkout@v4
      - name: Fetch main branch
        run: git fetch origin main --depth 1
      - uses: tj-actions/changed-files@v41
        id: changed-files
      - name: Checking recipe version bump
        uses: ./.github/workflows/check-recipe-version-bump
        with:
          changed-files: ${{ steps.changed-files.outputs.modified_files }}