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 checks after each commit PR ready for review #228

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

damianooldoni
Copy link
Member

@damianooldoni damianooldoni commented Jul 13, 2023

PR #227 didn't work as wished: commits of an open PR ready for review didn't trigger the automatic checks. Only the switch from draft to PR triggered such checks, which is not enough.

Solution here implemented comes from this GitHub discussion comment: https://github.com/orgs/community/discussions/25722#discussioncomment-3248917

It seems also that the workflow dispatch trigger works, i.e. the if: github.event.pull_request.draft == false in the jobs doesn't skip the action when it is manually triggered. I have just checked by triggering the R-CMD-check action on this PR with status draft, see https://github.com/inbo/camtraptor/actions/runs/5543168228/workflow

@damianooldoni damianooldoni self-assigned this Jul 13, 2023
@damianooldoni damianooldoni marked this pull request as ready for review July 13, 2023 12:44
@damianooldoni damianooldoni merged commit 11eff86 into main Jul 13, 2023
21 checks passed
@damianooldoni damianooldoni deleted the trigger-actions-pr branch July 25, 2023 12:23
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