Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
Don't create the PR to update the latest breaking version if latest b…
Browse files Browse the repository at this point in the history
…reaking version is not changed (#465)
  • Loading branch information
Atry authored Jun 2, 2022
1 parent da5a106 commit afc2de2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ jobs:
- if: github.event_name != 'pull_request'
run: bin/update-codegen --dont-update-ast --update-latest-breaking-version
- if: github.event_name != 'pull_request'
uses: dorny/paths-filter@v2
id: filter
with:
base: HEAD
filters: |
latest-breaking-version: codegen-no-rebuild/latest_breaking_version.hack
- if: github.event_name != 'pull_request' && steps.filter.outputs.latest-breaking-version == 'true'
uses: peter-evans/create-pull-request@v4
with:
branch: update-latest-breaking-version/${{github.ref_name}}
Expand Down

0 comments on commit afc2de2

Please sign in to comment.