mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-30 21:56:07 +08:00
Fix public-symbols-check workflow generation (#2876)
Consider only pull request events when running public-symbols-check.
This commit is contained in:

committed by
GitHub

parent
08def3e40a
commit
97c3664fd7
@ -28,7 +28,7 @@ jobs:
|
|||||||
{%- if job_data == "public-symbols-check" %}
|
{%- if job_data == "public-symbols-check" %}
|
||||||
if: |
|
if: |
|
||||||
!contains(github.event.pull_request.labels.*.name, 'Approve Public API check')
|
!contains(github.event.pull_request.labels.*.name, 'Approve Public API check')
|
||||||
&& github.actor != 'opentelemetrybot'
|
&& github.actor != 'opentelemetrybot' && github.event_name == 'pull_request'
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo @ SHA - ${% raw %}{{ github.sha }}{% endraw %}
|
- name: Checkout repo @ SHA - ${% raw %}{{ github.sha }}{% endraw %}
|
||||||
|
Reference in New Issue
Block a user