Skip to content

Commit cce129d

Browse files
fix: pin actions versions in cta-transitions.yml (#2054)
## PR Checklist - [x] Addresses an existing open issue: fixes #2038 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken ## Overview 🎁
1 parent 038c1f7 commit cce129d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/blocks/blockCTATransitions.ts

+10-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ export const blockCTATransitions = base.createBlock({
4040
},
4141
{
4242
id: "auto-commit-action",
43-
uses: "stefanzweifel/git-auto-commit-action@v5",
43+
uses: resolveUses(
44+
"stefanzweifel/git-auto-commit-action",
45+
"v5",
46+
options.workflowsVersions,
47+
),
4448
with: {
4549
commit_author:
4650
"The Friendly Bingo Bot <[email protected]>",
@@ -52,7 +56,11 @@ export const blockCTATransitions = base.createBlock({
5256
},
5357
{
5458
if: "steps.auto-commit-action.outputs.changes_detected == 'true'",
55-
uses: "mshick/add-pr-comment@v2",
59+
uses: resolveUses(
60+
"mshick/add-pr-comment",
61+
"v2",
62+
options.workflowsVersions,
63+
),
5664
with: {
5765
issue: "${{ github.event.pull_request.number }}",
5866
message: [

0 commit comments

Comments
 (0)