Skip to content

Commit 5e98f80

Browse files
Merge pull request #13 from philips-software/feature/add-dependabot
chore: add dependabot and pin actions on sha
2 parents 53fd9ea + bec28a5 commit 5e98f80

File tree

3 files changed

+22
-12
lines changed

3 files changed

+22
-12
lines changed

.github/dependabot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
version: 2
3+
4+
updates:
5+
- package-ecosystem: github-actions
6+
directory: /
7+
schedule:
8+
interval: weekly
9+
groups:
10+
github-actions:
11+
update-types:
12+
- minor
13+
- patch
14+
commit-message:
15+
prefix: "ci(deps)"

.github/workflows/test.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ jobs:
2929
docker_container: ["mcr.microsoft.com/windows/servercore:ltsc2019"]
3030

3131
steps:
32-
- name: Checkout
33-
uses: actions/checkout@v3
34-
with:
35-
fetch-depth: 0
32+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3633
- name: Test_Run_Default
3734
uses: ./
3835
with:
@@ -113,10 +110,7 @@ jobs:
113110
container: mcr.microsoft.com/powershell:7.5-ubuntu-24.04
114111

115112
steps:
116-
- name: Checkout
117-
uses: actions/checkout@v3
118-
with:
119-
fetch-depth: 0
113+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
120114
- name: Install
121115
shell: pwsh
122116
run: >-

.github/workflows/update-readme.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Update README
2+
23
on:
34
push:
45
branches: [ main ]
@@ -9,26 +10,26 @@ jobs:
910
runs-on: ubuntu-latest
1011

1112
steps:
12-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1314

1415
- name: Update README
15-
uses: npalm/action-docs-action@v1.2.0
16+
uses: npalm/action-docs-action@b1dd20339140224c1ffef389467e4fece8dc416b # v3.1.2
1617
with:
1718
readme: ./README.md
1819
actionFile: ./action.yml
1920
tocLevel: 2
2021
lineBreaks: LF
2122

2223
- name: commit and push
23-
uses: stefanzweifel/git-auto-commit-action@v4.15.0
24+
uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5.2.0
2425
with:
2526
commit_message: "Auto-update README.md"
2627
branch: "update-readme"
2728
push_options: '--force'
2829
create_branch: true
2930

3031
- name: Create pull request
31-
uses: devops-infra/action-pull-request@master
32+
uses: devops-infra/action-pull-request@ff118b4a7c24bac5a3c95acef59e9edd1fc37890 # v0.6.0
3233
with:
3334
github_token: ${{ secrets.GITHUB_TOKEN }}
3435
source_branch: update-readme

0 commit comments

Comments
 (0)