Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Don't run trigger on PR as secret not available #130

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

rossf7
Copy link
Contributor

@rossf7 rossf7 commented Nov 26, 2024

What type of PR is this?

kind/bug

What this PR does / why we need it:

The project trigger action runs for some pull requests e.g. #127 but it uses a GH secret that is not accessible from forked repos.

So it fails which is confusing when reviewing. This disables the action for pull requests only.

Which issue(s) this PR fixes:

Fixes #129

Special notes for your reviewer (optional):

Copy link
Contributor

@locomundo locomundo left a comment

Choose a reason for hiding this comment

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

LGTM

@rossf7 rossf7 merged commit 229982a into cncf-tags:main Nov 27, 2024
1 check passed
@rossf7 rossf7 deleted the fix/project-trigger-action branch November 27, 2024 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ACTION] Don't run project trigger action for pull requests
2 participants