summaryrefslogtreecommitdiff
path: root/.github/actions/add-maintainers-as-reviewers/Dockerfile
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2019-08-03 21:48:19 -0700
committerGitHub <noreply@github.com>2019-08-03 21:48:19 -0700
commit3179d98e121f6a0aae1ef92abb5dc6e8bcc5a5e9 (patch)
tree4b2d240ab669e091ae3d31318fda02e1f5ddacbe /.github/actions/add-maintainers-as-reviewers/Dockerfile
parentf68cdd1ad014adef41972cbe7fbe30a38fa5ab88 (diff)
downloadspack-3179d98e121f6a0aae1ef92abb5dc6e8bcc5a5e9.tar.gz
spack-3179d98e121f6a0aae1ef92abb5dc6e8bcc5a5e9.tar.bz2
spack-3179d98e121f6a0aae1ef92abb5dc6e8bcc5a5e9.tar.xz
spack-3179d98e121f6a0aae1ef92abb5dc6e8bcc5a5e9.zip
actions: add maintainers as PR reviewers for their packages (#12269)
Use `spack pkg changed` and `spack maintainers` to figure out which packages changed and who their maintainers are in a PR. Add any maintainers to the PR as reviewers.
Diffstat (limited to '.github/actions/add-maintainers-as-reviewers/Dockerfile')
-rw-r--r--.github/actions/add-maintainers-as-reviewers/Dockerfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/actions/add-maintainers-as-reviewers/Dockerfile b/.github/actions/add-maintainers-as-reviewers/Dockerfile
new file mode 100644
index 0000000000..9370cfed83
--- /dev/null
+++ b/.github/actions/add-maintainers-as-reviewers/Dockerfile
@@ -0,0 +1,6 @@
+FROM python:3.7-alpine
+
+RUN pip install pygithub
+
+ADD entrypoint.py /entrypoint.py
+ENTRYPOINT ["/entrypoint.py"]