chore(ci): pin actions to shas (#3769)
This commit is contained in:
8
.github/workflows/upload-coverage.yml
vendored
8
.github/workflows/upload-coverage.yml
vendored
@@ -12,13 +12,13 @@ jobs:
|
||||
outputs:
|
||||
should_run: ${{ !steps.parent_workflow.outputs.was_skipped_or_cancelled }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
|
||||
with:
|
||||
sparse-checkout: |
|
||||
.github
|
||||
.nvmrc
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
if: needs.pre_job.outputs.should_run == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
|
||||
|
||||
- uses: ./.github/actions/download-workflow-run-artifact
|
||||
with:
|
||||
@@ -46,7 +46,7 @@ jobs:
|
||||
|
||||
- name: Upload coverage report
|
||||
if: '!cancelled()'
|
||||
uses: codecov/codecov-action@v5
|
||||
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5
|
||||
with:
|
||||
override_commit: ${{ github.event.workflow_run.head_sha }}
|
||||
override_pr: ${{ github.event.workflow_run.pull_requests[0].number }}
|
||||
|
||||
Reference in New Issue
Block a user