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

Trigger CI on PRs too #250

Merged
merged 1 commit into from
Jun 10, 2020
Merged

Conversation

kethinov
Copy link
Contributor

@kethinov kethinov commented Jun 8, 2020

An omission from the original ci.yml can prevent some pull requests from triggering CI.

An omission from the original ci.yml can prevent some pull requests from triggering CI.
@alallier
Copy link
Owner

alallier commented Jun 8, 2020

I love this because it is recursive in a way. It adds a feature to build on PRs and it demonstrates itself.

@alallier
Copy link
Owner

alallier commented Jun 8, 2020

This will be accepted, now it's just my curiosity kicking in. In what case does pull request trigger on it's own?

@kethinov
Copy link
Contributor Author

kethinov commented Jun 8, 2020

I observed an issue in the Roosevelt projects where some PRs would get the CI triggered against them automatically (like the Renovate ones) and some would not (most user-generated ones). After researching the docs I discovered this config change is needed to guarantee that every PR will trigger the CI. I'm not sure why some PRs already triggered it and others didn't exactly, but this seemed to fix it on the Roosevelt repos, so I figured I'd propagate the change here too just to be safe.

@Autre31415
Copy link
Contributor

The PRs that would trigger are ones from branches of the main project. The ones that would not trigger were from forks.

@alallier alallier merged commit be7bd63 into alallier:master Jun 10, 2020
alallier added a commit that referenced this pull request Jun 10, 2020
------------------

* Changed `passphrase` option from `https.p12.passphrase` to `https.passphrase` so it can be used for certAndKey configurations as well - See: #251
* Tweaked CI configuration file so GitHub Actions CI will also run on pull requests - See: #250
* Updated nyc from 15.0.1 to 15.1.0 - See: #249
* Fix the repository URL in package.json - See: #252
@alallier alallier mentioned this pull request Jun 10, 2020
alallier added a commit that referenced this pull request Jun 10, 2020
------------------

* Changed `passphrase` option from `https.p12.passphrase` to `https.passphrase` so it can be used for certAndKey configurations as well - See: #251
* Tweaked CI configuration file so GitHub Actions CI will also run on pull requests - See: #250
* Updated nyc from 15.0.1 to 15.1.0 - See: #249
* Fix the repository URL in package.json - See: #252
@alallier alallier mentioned this pull request Jun 10, 2020
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.

3 participants