carpentries / actions

GitHub Actions for use in Carpentries-style lessons
1 stars 8 forks source link

update check-valid-pr to include headroom #68

Closed zkamvar closed 1 year ago

zkamvar commented 1 year ago

This adds the headroom argument to the check-valid-pr action. This argument specifies a range of commits that we can expect sha to be in. The default is 1, which is the same as the current behaviour. This is a fallback in the race condition where a new commit is added to the PR after the workflow containing this action is started.