Comments (5)
If you are doing a PR from your own repository, I guess, since it is intended that both internal branches without PRs and external PRs without internal branches run a build. I guess one of those could be disabled in the action, though.
from template.
If you agree to have the push build only on branch main, I can open a PR for it.
from template.
No, it is intended that pushes happen on all branches and on PRs. It can be considered a bug or and edge case than on an in-repo PR both builds are triggered, and a PR mitigating that would be merged.
from template.
This doesn't seem to be easy to achieve with the current workflow syntax. This proposal would help.
The only possibility apparently is a conditional implementation per job: https://github.com/orgs/community/discussions/57827.
However, if the build runs for every push anyway, why would you even want to have the pull_request
trigger as well? Is there any possibility to create a pull request change without a push?
from template.
However, if the build runs for every push anyway, why would you even want to have the pull_request trigger as well? Is there any possibility to create a pull request change without a push?
Yes, it is. push
only runs if the push is into the repository, while pull_request
also triggers on PRs from forks.
The only possibility apparently is a conditional implementation per job: https://github.com/orgs/community/discussions/57827.
That is not only the only possibility, but the best one. The action in this repository only has a single job with a single step, so no repetition would be needed.
from template.
Related Issues (19)
- chore: clean out repo
- feat: start using actions-template-sync HOT 2
- feat: add some custom image topics to the repo, check if they propagate to users HOT 1
- chore: switch to pinning a major or minor version instead of a patch version HOT 3
- rpm-ostree and podman fali to load the generated image with ASN.1 signature errors HOT 3
- Cosign signing is failing HOT 2
- [ recipe.yml ] Firefox removal: Build failure warning for missing RPMs in upstream image HOT 6
- Build Custom Image failed due to "no space left on device" HOT 2
- Installation via custom ISO fails during deployment step HOT 2
- fix: builds in template
- chore: finally remove the old ISO action HOT 2
- Error on rebasing to unsigned image HOT 1
- Gh OIDC keyless HOT 2
- `cryptographic signature verification failed` when pulling custom image (image already public) HOT 3
- Should we remove 60-custom.just from the template? HOT 1
- feat: github action success card in readme
- is semantic.yml still relevant? HOT 2
- blue-build/github-actions version v1.0.1 is broken in the template HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from template.