Skip to content

Commit 46c24fe

Browse files
ci: pin GitHub Actions to release commits (#666)
1 parent e02052a commit 46c24fe

2 files changed

Lines changed: 14 additions & 7 deletions

File tree

‎.github/workflows/git.yaml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ jobs:
66
block-fixup:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2.0.0
9+
# https://github.com/actions/checkout/releases/tag/v2.0.0
10+
- uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598
1011
- name: Block Fixup Commit Merge
11-
uses: 13rac1/block-fixup-merge-action@v1.1.1
12+
# https://github.com/13rac1/block-fixup-merge-action/releases/tag/v1.1.1
13+
uses: 13rac1/block-fixup-merge-action@a82405273693189df42d8aba5f3d0553d2dc77f2

‎.github/workflows/test.yaml‎

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,16 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Check out code
19-
uses: actions/checkout@v3
19+
# https://github.com/actions/checkout/releases/tag/v3.7.0
20+
uses: actions/checkout@a37ce9120846195fa4ece8f58b268e6043cb2f26
2021
with:
2122
fetch-depth: 0
2223
# Check https://github.com/livepeer/go-livepeer/pull/1891
2324
# for ref value discussion
2425
ref: ${{ github.event.pull_request.head.sha }}
2526

26-
- uses: actions/setup-node@v3
27+
# https://github.com/actions/setup-node/releases/tag/v3.9.1
28+
- uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610
2729
with:
2830
node-version: "16"
2931
cache: "yarn"
@@ -41,7 +43,8 @@ jobs:
4143
run: yarn test:coverage
4244

4345
- name: Upload coverage reports
44-
uses: codecov/codecov-action@v4
46+
# https://github.com/codecov/codecov-action/releases/tag/v4.6.0
47+
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238
4548
with:
4649
files: ./coverage/lcov.info
4750
name: ${{ github.event.repository.name }}
@@ -55,14 +58,16 @@ jobs:
5558
runs-on: ubuntu-latest
5659
steps:
5760
- name: Check out code
58-
uses: actions/checkout@v4.1.1
61+
# https://github.com/actions/checkout/releases/tag/v4.1.1
62+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
5963
with:
6064
# Check https://github.com/livepeer/go-livepeer/pull/1891
6165
# for ref value discussion
6266
ref: ${{ github.event.pull_request.head.sha }}
6367

6468
- name: Install editorconfig-checker
65-
uses: editorconfig-checker/action-editorconfig-checker@main
69+
# https://github.com/editorconfig-checker/action-editorconfig-checker/releases/tag/v2.3.0
70+
uses: editorconfig-checker/action-editorconfig-checker@7b3ae4aa4c2245e1296bfeb7690729093697f5b3
6671

6772
- name: Run editorconfig checker against the repo
6873
run: editorconfig-checker

0 commit comments

Comments
 (0)