Skip to content

Commit a78fd9b

Browse files
committed
genereate
1 parent 1a11d3e commit a78fd9b

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/generate_workflows_lib/src/generate_workflows_lib/misc.yml.j2

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
pull_request:
1111

1212
env:
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

.github/workflows/misc_0.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ jobs:
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
@@ -96,7 +98,7 @@ jobs:
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

0 commit comments

Comments
 (0)