Skip to content

Commit

Permalink
Use Ana06/get-changed-files instead of jitterbit/get-changed-files
Browse files Browse the repository at this point in the history
jitterbit/get-changed-files@v1 often fails with errors like:

Base commit: c06f2fe
Head commit: 55342d5
Error: The head commit for this pull_request event is not ahead of the base commit. Please submit an issue on this action's GitHub repo.
All: components/perf-tools/msr-safe/SPECS/msr-safe.spec
Added:
Modified: components/perf-tools/msr-safe/SPECS/msr-safe.spec
Removed:
Renamed:
Added or modified: components/perf-tools/msr-safe/SPECS/msr-safe.spec

This issue is known since a long time but it seems the action is not
maintained anymore:
https://github.com/jitterbit/get-changed-files/issues?q=The+head+commit+for+this+pull_request+event+is+not+ahead

https://github.com/Ana06/get-changed-files is a maintained fork that
claims to have fixed this issue: jitterbit/get-changed-files#11 (comment)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
  • Loading branch information
martin-g committed Dec 20, 2022
1 parent 36f14a0 commit c762244
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/validate.yml
Expand Up @@ -30,7 +30,7 @@ jobs:
with:
fetch-depth: 0
- id: files
uses: jitterbit/get-changed-files@v1
uses: Ana06/get-changed-files@v2.2.0
- name: Validate Changes
run: |
tests/ci/check_spec.py ${{ steps.files.outputs.added_modified }}
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Setup
run: tests/ci/prepare-ci-environment.sh
- id: files
uses: jitterbit/get-changed-files@v1
uses: Ana06/get-changed-files@v2.2.0
- name: Validate Build
run: |
. /etc/profile.d/lmod.sh
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
- name: Setup
run: tests/ci/prepare-ci-environment.sh
- id: files
uses: jitterbit/get-changed-files@v1
uses: Ana06/get-changed-files@v2.2.0
- uses: actions/download-artifact@v3
with:
name: rhel-rpms
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
- name: Setup
run: tests/ci/prepare-ci-environment.sh
- id: files
uses: jitterbit/get-changed-files@v1
uses: Ana06/get-changed-files@v2.2.0
- name: Validate Build
run: |
. /etc/profile.d/lmod.sh
Expand All @@ -146,7 +146,7 @@ jobs:
- name: Setup
run: tests/ci/prepare-ci-environment.sh
- id: files
uses: jitterbit/get-changed-files@v1
uses: Ana06/get-changed-files@v2.2.0
- name: Validate Build
run: |
. /etc/profile.d/lmod.sh
Expand Down

0 comments on commit c762244

Please sign in to comment.