Skip to content

Commit 592a6e6

Browse files
committed
CCM-14499: Pinning all GitHub Actions to SHAs
1 parent 130b756 commit 592a6e6

5 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/actions/build-docs/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ runs:
2323
run: npm ci
2424
shell: bash
2525
- name: Setup Ruby
26-
uses: ruby/setup-ruby@3783f195e29b74ae398d7caca108814bbafde90e # v1.180.1 with:
26+
uses: ruby/setup-ruby@3783f195e29b74ae398d7caca108814bbafde90e # v1.180.1
27+
with:
2728
ruby-version: "3.2" # Not needed with a .ruby-version file
2829
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
2930
cache-version: 0 # Increment this number if you need to re-download cached gems

.github/workflows/manual-combine-dependabot-prs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ jobs:
1515
steps:
1616
- name: combine-prs
1717
id: combine-prs
18-
uses: github/combine-prs@e6d37110da1b512313419ba6992492dad622139f # v5.2.0 with:
18+
uses: github/combine-prs@e6d37110da1b512313419ba6992492dad622139f # v5.2.0
19+
with:
1920
ci_required: false
2021
labels: dependencies
2122
pr_title: Combined Dependabot PRs

.github/workflows/pr_closed.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ jobs:
110110
packages: read
111111
steps:
112112
- name: "Checkout code"
113-
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.0 - name: "Repo setup"
113+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.0
114+
- name: "Repo setup"
114115
uses: ./.github/actions/node-install
115116
with:
116117
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/scheduled-repository-template-sync.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ jobs:
2424

2525
- name: Create Pull Request
2626
if: ${{ !env.ACT }}
27-
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0 with:
27+
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
28+
with:
2829
token: ${{ secrets.GITHUB_TOKEN }}
2930
commit-message: Drift from template
3031
branch: scheduledTemplateRepositorySync

.github/workflows/stage-5-publish.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,8 @@ jobs:
377377
run: echo "secret_exist=${{ secrets.TEAMS_NOTIFICATION_WEBHOOK_URL != '' }}" >> $GITHUB_OUTPUT
378378
- name: "Notify on publishing packages"
379379
if: steps.check.outputs.secret_exist == 'true'
380-
uses: nhs-england-tools/notify-msteams-action@a9fbb9bb41ef7db9c74d4fdc893f12812094fecf # v1.0.5 with:
380+
uses: nhs-england-tools/notify-msteams-action@a9fbb9bb41ef7db9c74d4fdc893f12812094fecf # v1.0.5
381+
with:
381382
github-token: ${{ secrets.GITHUB_TOKEN }}
382383
teams-webhook-url: ${{ secrets.TEAMS_NOTIFICATION_WEBHOOK_URL }}
383384
message-title: "Notification title"

0 commit comments

Comments
 (0)