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

feat(drone-sig): add check for fork #695

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zzehring
Copy link
Contributor

Since this reusable workflow is used by OSS projects, we need to be aware if we're dealing with a fork or not, especially when it comes to PRs. If we're on a fork, we don't have access to the secret needed to run the drone ci config signature validation. In this case, we post a comment to the PR saying we're skipping the check and someone with proper repo persmissions needs to check/sign the drone ci config changes.

@zzehring zzehring force-pushed the zzehring/check-drone-sig/add-fork-awareness branch from 4347828 to b2361f1 Compare January 14, 2025 20:07
Since this reusable workflow is used by OSS projects, we need to be
aware if we're dealing with a fork or not, especially when it comes to
PRs. If we're on a fork, we don't have access to the secret needed to
run the drone ci config signature validation. In this case, we post a
comment to the PR saying we're skipping the check and someone with
proper repo persmissions needs to check/sign the drone ci config
changes.
@zzehring zzehring force-pushed the zzehring/check-drone-sig/add-fork-awareness branch from b2361f1 to 71dfdb9 Compare January 14, 2025 20:11
@zzehring zzehring marked this pull request as ready for review January 14, 2025 20:17
@zzehring zzehring requested a review from a team as a code owner January 14, 2025 20:18
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.

2 participants