Skip to content

Commit

Permalink
Fix public-symbols-check workflow generation (#2876)
Browse files Browse the repository at this point in the history
Consider only pull request events when running  public-symbols-check.
  • Loading branch information
xrmx authored Sep 19, 2024
1 parent 08def3e commit 97c3664
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 97c3664

Please sign in to comment.