aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/check-pr.yml
blob: def73ab064cc867dea22e8fe70d0a5c5cb3c705f (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-20.04
    steps:
      - name: Checkout code
        uses: actions/checkout@v3
      - name: Fetch main branch
        run: git fetch origin main --depth 1
      - uses: tj-actions/changed-files@v35
        id: changed-files
      - name: Checking recipe version bump
        uses: ./.github/workflows/check-recipe-version-bump
        with:
          changed-files: ${{ steps.changed-files.outputs.modified_files }}