diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4822137..5d94957 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,13 +28,16 @@ jobs: outputs: apps: ${{ steps.filter.outputs.changes }} steps: - - uses: dorny/paths-filter@v3 - id: filter - with: - filters: | - game-2048: src/game-2048/** - cow-demo: src/cow-demo/** - rancher-helloworld: src/rancher-helloworld/** + - name: Check-out the repository + uses: actions/checkout@v4 + - uses: dorny/paths-filter@v3 + id: filter + with: + base: ${{ github.ref }} + filters: | + game-2048: src/game-2048/** + cow-demo: src/cow-demo/** + rancher-helloworld: src/rancher-helloworld/** code-check: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/pkg.yml b/.github/workflows/pkg.yml index 334b5d5..b747510 100644 --- a/.github/workflows/pkg.yml +++ b/.github/workflows/pkg.yml @@ -23,6 +23,7 @@ jobs: - uses: dorny/paths-filter@v3 id: filter with: + base: ${{ github.ref }} filters: | game-2048: src/game-2048/** cow-demo: src/cow-demo/**