File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
.github/actions/auto-commit Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -24,14 +24,6 @@ inputs:
24
24
runs :
25
25
using : " composite"
26
26
steps :
27
- # https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/making-authenticated-api-requests-with-a-github-app-in-a-github-actions-workflow
28
- - name : 🧬 Generate a token
29
- id : generate-token
30
- uses : actions/create-github-app-token@v2
31
- with :
32
- app-id : ${{ inputs.auto-merge-app-id }}
33
- private-key : ${{ inputs.auto-merge-private-key }}
34
-
35
27
- name : 🏗️ Create new branch and commit changes
36
28
shell : bash
37
29
env :
61
53
run : |
62
54
gh pr create --base "$BASE_BRANCH" --head "$NEW_PR_BRANCH" --title "Automated PR: $COMMIT_MESSAGE" --body "This PR was created automatically by a GitHub Action."
63
55
56
+ # https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/making-authenticated-api-requests-with-a-github-app-in-a-github-actions-workflow
57
+ - name : 🧬 Generate a token
58
+ id : generate-token
59
+ uses : actions/create-github-app-token@v2
60
+ with :
61
+ app-id : ${{ inputs.auto-merge-app-id }}
62
+ private-key : ${{ inputs.auto-merge-private-key }}
63
+
64
64
- name : 🤖 Squash the PR
65
65
shell : bash
66
66
run : gh pr merge --squash "$NEW_PR_BRANCH"
You can’t perform that action at this time.
0 commit comments