Commit Graph

2 Commits (f052b524bc0b91e80da46af2ecccffe7a5fdfcf2)

Author SHA1 Message Date
Jason Ish 37d68230f8 github-ci: use latest version of actions/upload-artifact 3 years ago
Jason Ish af5a0e11e8 github-ci: check for new authors in pull-request
On pull request, get a list of commit authors for the pull request and
compare to the list of authors in git master. If any differ, save to
new-authors.txt and upload this as an artifact.

As a workflow-run, download this artifact and if non-empty, add a
comment to the pull-request that new authors may be part of the pull
request.

This 2 step approach is because GitHub actions running in pull-request
context are not allowed to comment on the pull request, instead a
post-workflow workflow has been added that runs in the context of the
repo which can then comment on the pull request.
3 years ago