Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Update CI workflow to build fine on PRs from forks #684

Merged
merged 1 commit into from
Sep 28, 2020

Conversation

gtardif
Copy link
Contributor

@gtardif gtardif commented Sep 28, 2020

Signed-off-by: Guillaume Tardif guillaume.tardif@docker.com

What I did
Update workflow to run on PRs, and only on main branch (if on all branches, for every PR that would run one GH Action for the branch push on the fork, and one for the PR opening)

Related issue
Seen in #683 : build happens on push on forks, but the build notifications are not propagted to the PR

(not mandatory) A picture of a cute animal, if possible in relation with what you did

@github-actions github-actions bot added the ci Continuous integration label Sep 28, 2020
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
@gtardif
Copy link
Contributor Author

gtardif commented Sep 28, 2020

Beware running optional tests (ACI/ECS) on a forked branch will only succeed if you have defined the relevant secrets in your fork, in order to login to ACI/ECS

@ndeloof ndeloof merged commit 0d2e951 into docker-archive:main Sep 28, 2020
@gtardif gtardif deleted the ci_fork_prs branch December 2, 2020 16:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ci Continuous integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants