File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ jobs:
1919 repo: context.repo.repo,
2020 pull_number: prNumber
2121 });
22-
22+
2323 // Only proceed if the PR is created by Dependabot.
2424 if (pr.user.login !== 'dependabot[bot]') {
2525 core.info("PR is not from Dependabot. Skipping auto-merge.");
2626 core.setOutput("shouldMerge", "false");
2727 return;
2828 }
29-
29+
3030 // Check if the PR has the 'automerge' label.
3131 const labels = pr.labels.map(label => label.name);
3232 if (!labels.includes('automerge')) {
3535 return;
3636 }
3737
38- // Skip combined status check and proceed to auto-merge.
3938 core.info("Skipping status checks. Proceeding with auto-merge.");
4039 core.setOutput("shouldMerge", "true");
4140
5251 merge_method: "squash"
5352 });
5453 core.info(`Merge response: ${JSON.stringify(mergeResponse.data)}`);
54+ env :
55+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments