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

Make non-master CI build only for repo owner #190

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Conversation

paskal
Copy link
Collaborator

@paskal paskal commented Dec 8, 2024

It was introduced in #186.

@paskal paskal requested a review from umputun as a code owner December 8, 2024 14:31
Copy link

cloudflare-workers-and-pages bot commented Dec 8, 2024

Deploying tg-spam with  Cloudflare Pages  Cloudflare Pages

Latest commit: 794daae
Status: ✅  Deploy successful!
Preview URL: https://c5831005.tg-spam.pages.dev
Branch Preview URL: https://paskal-fix-ci.tg-spam.pages.dev

View logs

@umputun
Copy link
Owner

umputun commented Dec 8, 2024

The ability to build (and push) images from a non-master branch is practically important to provide a testing image prior to merging into master, so it can be tested by the end users in their environment. At the same time, this should be something only I can do, but breaking CI for all external PRs is not a good thing either.

So, we need a better way of doing that. Maybe just a make target to run it manually instead of a CI task?

@umputun
Copy link
Owner

umputun commented Dec 8, 2024

maybe we can add a check for my user name here, and skip if not matching?

@paskal paskal changed the title Remove CI section which doesn't work for users other than repo owner Make non-master CI build only for repo owner Dec 8, 2024
@paskal
Copy link
Collaborator Author

paskal commented Dec 8, 2024

Done, I thought about it as well.

@umputun umputun merged commit 42f4ddc into master Dec 9, 2024
5 checks passed
@umputun umputun deleted the paskal/fix_ci branch December 9, 2024 00:29
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