We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 682b7f1 commit 1e65154Copy full SHA for 1e65154
.github/workflows/reusable-build-test-release.yml
@@ -2671,6 +2671,10 @@ jobs:
2671
2672
pre-publish:
2673
if: ${{ !cancelled() }}
2674
+ # The following line will rename 'pre-publish' to 'pre-publish-not_main_pr' when PR is created towards main branch
2675
+ # It is necessary to avoid confusion caused by githubactions considering pre-publish for both push to develop branch
2676
+ # and pull_request to main branch events.
2677
+ name: ${{ github.event_name == 'pull_request' && github.base_ref == 'main' && 'pre-publish' || 'pre-publish-not_main_pr' }}
2678
needs:
2679
- meta
2680
- compliance-copyrights
0 commit comments