Add skip clause for Public API check (#2801)

Fixes #2800
This commit is contained in:
Diego Hurtado
2024-08-15 17:05:45 -06:00
committed by GitHub
parent af9e841742
commit e7f647e91b

View File

@ -25,6 +25,11 @@ jobs:
!contains(github.event.pull_request.labels.*.name, 'Skip generate-workflows')
&& github.actor != 'opentelemetrybot'
{%- endif %}
{%- if job_data == "public-symbols-check" %}
if: |
!contains(github.event.pull_request.labels.*.name, 'Approve Public API check')
&& github.actor != 'opentelemetrybot'
{%- endif %}
steps:
- name: Checkout repo @ SHA - ${% raw %}{{ github.sha }}{% endraw %}
uses: actions/checkout@v4