Skip to content

Commit 2faace7

Browse files
authored
Update collections-renames.yml
Signed-off-by: Justin Kenyon <[email protected]>
1 parent 68eb11e commit 2faace7

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

.github/workflows/collections-renames.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,15 @@ jobs:
2323
with:
2424
bundler-cache: true
2525

26-
- name: Install dependencies
27-
run: bundle install --with test
28-
29-
- name: Test collection with autofix and commit changes
30-
uses: technote-space/create-pr-action@91114507cf92349bec0a9a501c2edf1635427bc5 # v2
26+
- name: Test collections and commit the changes
3127
env:
32-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3328
AUTOCORRECT_RENAMED_REPOS: 1
29+
run: bundle exec rake collections
30+
31+
- name: Test collection with autofix and commit changes
32+
uses: peter-evans/create-pull-request@v7
3433
with:
35-
EXECUTE_COMMANDS: |
36-
bundle exec rake collections
37-
COMMIT_MESSAGE: "✨ Autofixing renamed/removed collection items ✨"
38-
COMMIT_NAME: "GitHub Actions"
39-
COMMIT_EMAIL: "[email protected]"
40-
PR_BRANCH_NAME: "update-collections-${PR_ID}"
41-
PR_TITLE: "✨ Autofixing renamed/removed collection items ✨"
34+
commit-message: "✨ Autofixing renamed/removed collection items ✨"
35+
commiter: "github-actions[bot] <[email protected]>"
36+
branch: "update-collections-${PR_ID}"
37+
title: "✨ Autofixing renamed/removed collection items ✨"

0 commit comments

Comments
 (0)