File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
generate_workflows_lib/src/generate_workflows_lib Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1010 pull_request:
1111
1212env:
13- CORE_REPO_SHA: b9240e73fb4a5c493a753cc9baa865e2d9a817a3
13+ CORE_REPO_SHA: main
1414 CONTRIB_REPO_SHA: main
1515 PIP_EXISTS_ACTION: w
1616
@@ -23,13 +23,17 @@ jobs:
2323 {% - if job_data == "generate-workflows" %}
2424 if: |
2525 !contains(github.event.pull_request.labels.*.name, 'Skip generate-workflows')
26- && github.actor != 'opentelemetrybot' && github.event_name == 'pull_request'
26+ && github.event.pull_request.user.login != 'opentelemetrybot' && github.event_name == 'pull_request'
2727 {% - endif %}
2828 {% - if job_data == "public-symbols-check" %}
2929 if: |
3030 !contains(github.event.pull_request.labels.*.name, 'Approve Public API check')
3131 && github.actor != 'opentelemetrybot' && github.event_name == 'pull_request'
3232 {% - endif %}
33+ {% - if job_data == "docs" %}
34+ if: |
35+ github.event.pull_request.user.login != 'opentelemetrybot' && github.event_name == 'pull_request'
36+ {% - endif %}
3337 steps:
3438 - name: Checkout repo @ SHA - ${% raw %} {{ github.sha }}{% endraw %}
3539 uses: actions/checkout@v4
Original file line number Diff line number Diff line change 5555 docs :
5656 name : docs
5757 runs-on : ubuntu-latest
58+ if : |
59+ github.event.pull_request.user.login != 'opentelemetrybot' && github.event_name == 'pull_request'
5860 steps :
5961 - name : Checkout repo @ SHA - ${{ github.sha }}
6062 uses : actions/checkout@v4
9698 runs-on : ubuntu-latest
9799 if : |
98100 !contains(github.event.pull_request.labels.*.name, 'Skip generate-workflows')
99- && github.actor != 'opentelemetrybot' && github.event_name == 'pull_request'
101+ && github.event.pull_request.user.login != 'opentelemetrybot' && github.event_name == 'pull_request'
100102 steps :
101103 - name : Checkout repo @ SHA - ${{ github.sha }}
102104 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments