mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-29 13:12:39 +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: |
|
||||
!contains(github.event.pull_request.labels.*.name, 'Approve Public API check')
|
||||
&& github.actor != 'opentelemetrybot'
|
||||
&& github.actor != 'opentelemetrybot' && github.event_name == 'pull_request'
|
||||
{%- endif %}
|
||||
steps:
|
||||
- name: Checkout repo @ SHA - ${% raw %}{{ github.sha }}{% endraw %}
|
||||
|
Reference in New Issue
Block a user