Skip to content

Commit 1c20b05

Browse files
authored
Pin third-party GitHub actions (#78)
1 parent f8dccdf commit 1c20b05

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/health_check.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Check out code
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
1313

1414
- name: Setup Ruby
15-
uses: ruby/setup-ruby@v1
15+
uses: ruby/setup-ruby@1a615958ad9d422dd932dc1d5823942ee002799f # v1.227.0
1616
with:
1717
ruby-version: 3.0.2
1818
bundler-cache: true
@@ -24,7 +24,7 @@ jobs:
2424

2525
- name: Notify slack
2626
if: failure()
27-
uses: kpritam/slack-job-status-action@v1
27+
uses: kpritam/slack-job-status-action@54eea0dd141dd572d7fbbe96416e9c5d8ba57976 # v0.1.2
2828
with:
2929
job-status: ${{ job.status }}
3030
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}

.github/workflows/publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
steps:
1414
- name: Check out code
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
1616

1717
- uses: chrnorm/deployment-action@releases/v1
1818
name: Create GitHub deployment
@@ -23,7 +23,7 @@ jobs:
2323
environment: production
2424

2525
- name: Setup Ruby
26-
uses: ruby/setup-ruby@v1
26+
uses: ruby/setup-ruby@1a615958ad9d422dd932dc1d5823942ee002799f # v1.227.0
2727
with:
2828
ruby-version: 2.7.1
2929

@@ -59,4 +59,4 @@ jobs:
5959
token: "${{ github.token }}"
6060
target_url: ${{ env.TARGET_URL }}
6161
state: "failure"
62-
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
62+
deployment_id: ${{ steps.deployment.outputs.deployment_id }}

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- name: Check out code
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
2121

2222
- name: Setup Ruby ${{ matrix.ruby-version }}
23-
uses: ruby/setup-ruby@v1
23+
uses: ruby/setup-ruby@1a615958ad9d422dd932dc1d5823942ee002799f # v1.227.0
2424
with:
2525
ruby-version: ${{ matrix.ruby-version }}
2626
bundler-cache: true

0 commit comments

Comments
 (0)