Skip to content

Commit 2bd3b76

Browse files
committed
chore: apply repo-ansible to self
1 parent cd060ac commit 2bd3b76

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

.github/workflows/10-review.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,16 @@ jobs:
1313
if: github.actor != 'dependabot[bot]'
1414
continue-on-error: true
1515
steps:
16-
- uses: actions/checkout@v6
16+
# v6 https://github.com/actions/checkout/commit/de0fac2e4500dabe0009e67214ff5f5447ce83dd
17+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
1718

1819
# interesting alternative: https://github.com/cocogitto/cocogitto
19-
- uses: webiny/action-conventional-commits@v1.3.0
20-
# XXX: normal action versioning syntax (`@v1`) doesn't work with this action,
21-
# possibly because not published on the GitHub marketplace
20+
# v1.3.0 https://github.com/webiny/action-conventional-commits/commit/8bc41ff4e7d423d56fa4905f6ff79209a78776c7
21+
- uses: webiny/action-conventional-commits@8bc41ff4e7d423d56fa4905f6ff79209a78776c7
2222

2323
- name: Check Card# reference
24-
uses: linkorb/commit-message-checker@v1
24+
# v1 https://github.com/linkorb/commit-message-checker/commit/dc804b50ce575a720739ec3f0ef3d5030130ec98
25+
uses: linkorb/commit-message-checker@dc804b50ce575a720739ec3f0ef3d5030130ec98
2526
with:
2627
# Matches lines that end in a card number: #1234
2728
# Matches lines that end in a card number and PR reference: #1234 (#20)

.github/workflows/auto-label-pull-request.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Label pull requests based on conventional commits
17-
uses: actions/github-script@v7
17+
# v8 https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd
18+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
1819
with:
1920
github-token: ${{ secrets.GITHUB_TOKEN }}
2021
script: |

.github/workflows/auto-merge-dependabot-prs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ jobs:
1515
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
1616
steps:
1717
- id: metadata
18-
uses: dependabot/fetch-metadata@v2
18+
# v2 https://github.com/dependabot/fetch-metadata/commit/21025c705c08248db411dc16f3619e6b5f9ea21a
19+
uses: dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a
1920

2021
- if: steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch'
2122
run: gh pr merge --merge "$PR_URL"

.github/workflows/auto-run-repo-ansible.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- if: ${{ env.IS_PULL_REQUEST == '0' }}
32-
uses: actions/checkout@v6
32+
# v6 https://github.com/actions/checkout/commit/de0fac2e4500dabe0009e67214ff5f5447ce83dd
33+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
3334

3435
- if: ${{ env.IS_PULL_REQUEST == '1' }}
35-
uses: actions/checkout@v6
36+
# v6 https://github.com/actions/checkout/commit/de0fac2e4500dabe0009e67214ff5f5447ce83dd
37+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
3638
with:
3739
ref: refs/pull/${{ github.event.pull_request.number }}/merge
3840

@@ -65,7 +67,8 @@ jobs:
6567
6668
- if: ${{ env.IS_PULL_REQUEST == '1' && env.REPOSITORY_CHANGED == '1' }}
6769
name: bot comment about repo-ansible detected changes
68-
uses: actions/github-script@v7
70+
# v8 https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd
71+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
6972
with:
7073
script: |
7174
const changes = process.env.REPO_ANSIBLE_OUTPUT

0 commit comments

Comments
 (0)