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 my own fork of (third-party) GitHub Actions. #1257

Merged
merged 1 commit into from
Apr 27, 2021

Conversation

briansmith
Copy link
Owner

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

$ sed -ri 's|(uses: +)([^/]+)/([^@])|\1briansmith/\2-\3|g' .github/workflows/ci.yml
$ 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

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

```
$ sed -ri 's|(uses: +)([^/]+)/([^@])|\1briansmith/\2-\3|g' .github/workflows/ci.yml
$ 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
```
@codecov
Copy link

codecov bot commented Apr 27, 2021

Codecov Report

Merging #1257 (c821aac) into main (f3d8b52) will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1257      +/-   ##
==========================================
+ Coverage   92.86%   92.87%   +0.01%     
==========================================
  Files         116      116              
  Lines       18270    18270              
==========================================
+ Hits        16967    16969       +2     
+ Misses       1303     1301       -2     
Impacted Files Coverage Δ
src/aead/aes.rs 77.43% <0.00%> (-0.45%) ⬇️
crypto/cpu-intel.c 84.70% <0.00%> (+3.52%) ⬆️

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 f3d8b52...c821aac. Read the comment docs.

@briansmith briansmith merged commit 0c69150 into main Apr 27, 2021
@briansmith briansmith deleted the b/no-third-party-actions branch April 27, 2021 00:52
@briansmith
Copy link
Owner Author

After merging this, I just changed the Allowed Actions setting of this repository to "Allow local actions only."

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