Skip to content

Commit c1c8cca

Browse files
authored
Merge pull request #133 from Automattic/chore/devprod-1072-pin-actions-shas
chore: pin third-party GitHub Actions to commit SHAs
2 parents 1532bef + 2b397d4 commit c1c8cca

4 files changed

Lines changed: 25 additions & 3 deletions

File tree

.github/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
day: "monday"
8+
open-pull-requests-limit: 10
9+
groups:
10+
actions-minor-patch:
11+
patterns:
12+
- "*"
13+
update-types:
14+
- "minor"
15+
- "patch"
16+
actions-major:
17+
patterns:
18+
- "*"
19+
update-types:
20+
- "major"
21+
cooldown:
22+
default-days: 7

.github/workflows/create-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: ./bin/create-release-artifacts.sh ${{ inputs.version }}
3131

3232
- name: Create release
33-
uses: ncipollo/release-action@v1
33+
uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0
3434
with:
3535
token: ${{ secrets.GITHUB_TOKEN }}
3636
tag: ${{ inputs.version }}

.github/workflows/on-version-changed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
fetch-depth: 2
2424

25-
- uses: salsify/action-detect-and-tag-new-version@v2
25+
- uses: salsify/action-detect-and-tag-new-version@b1778166f13188a9d478e2d1198f993011ba9864 # v2.0.3
2626
id: check-version
2727
with:
2828
version-command: jq '.version' composer.json

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: sudo apt-get install subversion -y
3838

3939
- name: Deploy to plugin directory
40-
uses: 10up/action-wordpress-plugin-deploy@stable
40+
uses: 10up/action-wordpress-plugin-deploy@54bd289b8525fd23a5c365ec369185f2966529c2 # 2.3.0
4141
with:
4242
generate-zip: false
4343
env:

0 commit comments

Comments
 (0)