Skip to content

Commit 510d672

Browse files
committed
Restore skipping japicmp diff for otelbot
1 parent e8305ee commit 510d672

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ jobs:
8282
RUN_JMH_BASED_TESTS: ${{ matrix.jmh-based-tests }}
8383

8484
- name: Check for diff
85-
# The jApiCmp diff compares current to latest, which isn't appropriate for release branches
85+
# The jApiCmp diff compares current to latest, which isn't appropriate for release branches, or for bot-generated PRs
8686
# this fails on windows because of the bash-specific if/then/else syntax, but that's ok
8787
# because we only need to run this validation once (on any platform)
88-
if: ${{ matrix.os != 'windows-latest' && !startsWith(github.ref_name, 'release/') && !startsWith(github.base_ref, 'release/') }}
88+
if: ${{ matrix.os != 'windows-latest' && !startsWith(github.ref_name, 'release/') && !startsWith(github.base_ref, 'release/') && (github.actor != 'opentelemetrybot') }}
8989
run: |
9090
# need to "git add" in case any generated files did not already exist
9191
git add docs/apidiffs

0 commit comments

Comments
 (0)