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

(fix/ci): GitHub Actions should run on PRs as well #373

Merged
merged 1 commit into from
Dec 15, 2019

Conversation

agilgur5
Copy link
Collaborator

@agilgur5 agilgur5 commented Dec 14, 2019

  • previously would only run on branches from origin, so PRs from a
    fork would not trigger them

Follow up to #372 once I took a look at the GH Actions docs. @sw-yx GH Actions were probably working for your use case because you were using branches on this repo and not from a fork during your PRs. The Actions are running in this PR from my fork now.

Now oddly enough, #366 did run the Actions (being an origin branch), and somehow they passed???. I have no idea why the lint test didn't fail 😳

Also as a follow-up to this -- you probably want to add branch protection rules for master so the checks are required before passing. This would also make it easier to detect when there's a CI logic bug.

- previously would only run on branches from origin, so PRs from a
  fork would not trigger them
@swyxio
Copy link
Collaborator

swyxio commented Dec 15, 2019

oh i see. yea the master branch protection is something jared didnt want. 🤷‍♂️

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