Skip to content

Commit

Permalink
Ignore the japicmp diff check for bot PRs (#6559)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkwatson authored Jul 8, 2024
1 parent d7e7542 commit 99c5b94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ jobs:
RUN_JMH_BASED_TESTS: ${{ matrix.jmh-based-tests }}

- name: Check for diff
# The jApiCmp diff compares current to latest, which isn't appropriate for release branches
if: ${{ !startsWith(github.ref_name, 'release/') && !startsWith(github.base_ref, 'release/') }}
# The jApiCmp diff compares current to latest, which isn't appropriate for release branches, or for bot-generated PRs
if: ${{ !startsWith(github.ref_name, 'release/') && !startsWith(github.base_ref, 'release/') && (github.actor != 'opentelemetrybot') }}
run: |
# need to "git add" in case any generated files did not already exist
git add docs/apidiffs
Expand Down

0 comments on commit 99c5b94

Please sign in to comment.