Skip to content

Do not run ok-to-test workflow on forks#17823

Merged
hashhar merged 1 commit intotrinodb:masterfrom
hashhar:hashhar/ok-to-test-not-on-forks
Jun 9, 2023
Merged

Do not run ok-to-test workflow on forks#17823
hashhar merged 1 commit intotrinodb:masterfrom
hashhar:hashhar/ok-to-test-not-on-forks

Conversation

@hashhar
Copy link
Copy Markdown
Member

@hashhar hashhar commented Jun 9, 2023

Description

Forks don't need this since they can just configure their own secrets. Also running this requires the app_id for the GitHub app we are using and sharing that with other repos is not safe anyway.

Release notes

(x) This is not user-visible or docs only and no release notes are required.

Fixes #17076

@hashhar hashhar requested review from findepi and nineinchnick June 9, 2023 08:45
@cla-bot cla-bot bot added the cla-signed label Jun 9, 2023
@hashhar hashhar requested a review from Praveen2112 June 9, 2023 08:46
Copy link
Copy Markdown
Member

@ebyhr ebyhr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this change resolve #17076?

@hashhar
Copy link
Copy Markdown
Member Author

hashhar commented Jun 9, 2023

Does this change resolve #17076?

Not really, the workflow will be invoked for every comment still but those fail-fast since they don't contain the trigger word.

@hashhar
Copy link
Copy Markdown
Member Author

hashhar commented Jun 9, 2023

Actually, yes, it'll stop sending emails to people who add comments to their own fork or push to branches on their own fork.

@hashhar hashhar merged commit c553481 into trinodb:master Jun 9, 2023
@hashhar hashhar deleted the hashhar/ok-to-test-not-on-forks branch June 9, 2023 11:38
@github-actions github-actions bot added this to the 420 milestone Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

CI runs on every comment

3 participants