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

CI/CD: Use private cache of (third-party) GitHub Actions. #52

Merged
merged 1 commit into from
Apr 26, 2021

Conversation

briansmith
Copy link
Owner

@briansmith briansmith commented Apr 26, 2021

This is a step towards implementing the GitHub security hardening advice.

sed -ri 's|(uses: +)([^/]+)/([^@])|\1briansmith/\2-\3|g' .github/workflows/ci.yml

This is a step towards implementing the GitHub security hardening advice.

sed -ri 's|(uses: +)([^/]+)/([^@])|\1briansmith/\2-\3|g' .github/workflows/ci.yml
@briansmith briansmith self-assigned this Apr 26, 2021
@codecov
Copy link

codecov bot commented Apr 26, 2021

Codecov Report

Merging #52 (4a39cba) into main (6a15d6e) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #52   +/-   ##
=======================================
  Coverage   75.72%   75.72%           
=======================================
  Files           5        5           
  Lines         206      206           
=======================================
  Hits          156      156           
  Misses         50       50           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6a15d6e...4a39cba. Read the comment docs.

@briansmith
Copy link
Owner Author

After the first run of this passed, I changed the Github Actions permissions for this repo to "Allow local actions only."

@briansmith briansmith merged commit bb9228a into main Apr 26, 2021
@briansmith briansmith deleted the b/checkout branch April 26, 2021 23:12
@briansmith
Copy link
Owner Author

$ grep "uses:" .github/workflows/ci.yml | sort | uniq
      - uses: briansmith/actions-cache@v2
      - uses: briansmith/actions-checkout@v2
      - uses: briansmith/actions-rs-toolchain@v1
      - uses: briansmith/codecov-codecov-action@v1

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.

1 participant