Hacker News new | past | comments | ask | show | jobs | submit login

Instead, they run over a merge commit from the base branch.

This means CI is always running over commits that don't exist anywhere in the repo, and change whenever master changes.

If you re-run GHA after master changes, CI is testing over different code.

Posting because every senior developer that I know is surprised to learn this.




Still wrong title. Do a Tell HN: and use the original title. with your comments


So the submission should be:

Title: Tell HN: GitHub Actions on PR don't run over your commit by default

URL: empty

Text: link plus the comment I had

is this right?


Not right, but better. If you link directly, the name must be the title of the url


Thanks for the guidance! Re-submitted as https://news.ycombinator.com/item?id=37941896




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: