Skip to content

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

Merged
swyxio merged 1 commit intojaredpalmer:masterfrom
agilgur5:fix-pr-ci
Dec 15, 2019
Merged

(fix/ci): GitHub Actions should run on PRs as well#373
swyxio merged 1 commit intojaredpalmer:masterfrom
agilgur5:fix-pr-ci

Conversation

@agilgur5
Copy link
Copy Markdown
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
Copy Markdown
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