Skip to content

Commit a203e05

Browse files
committed
feature(79894): add dependabot configuration and pinact step in ci.yml
1 parent c0bb476 commit a203e05

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
updates:
2+
- package-ecosystem: github-actions
3+
directory: /
4+
schedule:
5+
interval: weekly
6+
groups:
7+
github-actions:
8+
patterns:
9+
- "*"
10+
11+
version: 2

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@ on:
1010
- main
1111

1212
jobs:
13+
check-pinned-actions:
14+
name: Check actions are SHA-pinned
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
19+
20+
- name: Check actions are SHA-pinned
21+
uses: suzuki-shunsuke/pinact-action@cf51507d80d4d6522a07348e3d58790290eaf0b6 # v2.0.0
22+
with:
23+
skip_push: "true"
24+
github_token: ${{ secrets.GITHUB_TOKEN }}
25+
1326
test-scripts:
1427
name: Test Python scripts
1528
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)