Nicholas McDonnell
454864bc02
Incorporate the Python version into keys for pip and pre-commit caches.
...
This should resolve the issue seen when the Python version changes before there
is an update to .pre-commit-config.yml which results in pre-commit pointing to
a non-existent Python installation.
4 years ago
Nicholas McDonnell
e96577bce4
All references to '-r' for pip calls have been replaced with the more verbose '--requirement'.
4 years ago
Nicholas McDonnell
d99fd00bc2
Flip cache order to mirror how it is done downstream.
4 years ago
Nicholas McDonnell
f7a4166ad6
Update Python version used to 3.8
...
Update actions/checkout to v2
Update formatting to match downstream children
4 years ago
Jeremy Frasier
dbd589d2e2
Improve list formatting
5 years ago
Jeremy Frasier
2fa4cbe194
Make workflow run when a PR is opened, synchronized, or reopened
...
A user forked cisagov/scan-target-data and created a pull request, but
the required GitHub Action(s) did not run. This is presumably because
the user does not have Actions enabled in his or her fork. Ideally,
the required Action(s) would run in cisagov/scan-target-data when a PR
to merge changes back is created. Based on my reading of this link,
adding the "pull_request" event type should make this happen:
https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows#pull-request-events-for-forked-repositories
5 years ago
Mark Feldhousen
b89eecb788
Update CODEOWNERS
5 years ago
Felddy
e39dc88819
Add codeowners file with team OIS maintainers.
...
See:
https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners
5 years ago
Felddy
99c611557e
Remove search for previous pre-commit caches.
...
These seem to be very large caches. Restoring an old one and updating
it results in a cache larger than the maximum allowed cache size: 200MB.
"Cache size of 254757924 bytes is over the 200MB limit, not saving
cache."
So if the config changes it is best to just take the cache-miss and
start from scratch.
5 years ago
Felddy
5d5567d303
Add GitHub action caching of pre-commit hooks and pip packages.
5 years ago
Felddy
b11e39abd7
Remove extra line.
5 years ago
Felddy
05a136bb11
Replace Travis-CI with GitHub actions.
5 years ago