Skip to content

Commit

Permalink
use the after field to get hash
Browse files Browse the repository at this point in the history
  • Loading branch information
bisgaard-itis committed Feb 3, 2025
1 parent 92c976e commit cfd945a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci-testing-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
make openapi-specs
- name: Check openapi specs are up to date
run: |
echo "github.event.after=${{ github.event.after }}"
if ! ./ci/github/helpers/openapi-specs-diff.bash diff \
https://raw.githubusercontent.com/${{ github.event.pull_request.head.repo.full_name }}/${{ github.event.after }} \
.; then \
Expand All @@ -60,7 +59,7 @@ jobs:
- name: check api-server backwards compatibility
run: |
./scripts/openapi-diff.bash breaking --fail-on ERR\
https://raw.githubusercontent.com/${{ github.event.pull_request.base.repo.full_name }}/${{ github.sha }}/services/api-server/openapi.json \
https://raw.githubusercontent.com/${{ github.event.pull_request.base.repo.full_name }}/${{ github.event.after }}/services/api-server/openapi.json \
/specs/services/api-server/openapi.json
all-oas-breaking:
Expand All @@ -79,5 +78,5 @@ jobs:
- name: Check openapi-specs backwards compatibility
run: |
./ci/github/helpers/openapi-specs-diff.bash breaking \
https://raw.githubusercontent.com/${{ github.event.pull_request.base.repo.full_name }}/${{ github.sha }} \
https://raw.githubusercontent.com/${{ github.event.pull_request.base.repo.full_name }}/${{ github.event.after }} \
.

0 comments on commit cfd945a

Please sign in to comment.