File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 77 # pull_request:
88 # synchronize
99 # types: [opened, synchronize]
10- # branches: [automatic_version_update_dependabot ] # make sure this matches your actual branch name
10+ # branches: [Automatic_version_update_dependabot ] # make sure this matches your actual branch name
1111 check_suite :
1212 types : [completed]
1313 workflow_dispatch :
@@ -33,19 +33,15 @@ jobs:
3333 echo "Conclusion: ${{ github.event.check_suite.conclusion }}"
3434 echo "Target Branch: ${{ github.event.check_suite.pull_requests[0].base.ref }}"
3535 echo "PR Number: ${{ github.event.check_suite.pull_requests[0].number }}"
36-
37- - name : delay for check
38- run : |
39- # drop later qqqq shouldnt need but its running before auto
40- echo "waiting 4 minutes for other checks to start running..."
41- sleep 240
36+
4237
4338 auto-merge :
4439 runs-on : ubuntu-latest
4540 # if: github.event.check_suite.pull_requests[0].base.ref == 'main'
4641 # if dependabot and checks ran
4742 # if: (github.event_name != 'check_suite' || github.event.check_suite.conclusion == 'success')
4843 # qqqq put back in later if: (github.actor == 'dependabot[bot]' || github.event_name == 'workflow_dispatch')&& (github.event_name != 'check_suite' || github.event.check_suite.conclusion == 'success')
44+ if : github.event.check_suite.conclusion == 'success' && github.actor == 'dependabot[bot]' && github.event.check_suite.pull_requests[0].base.ref == 'Automatic_version_update_dependabot'
4945 steps :
5046 - name : Checkout the repository
5147 uses : actions/checkout@v3
You can’t perform that action at this time.
0 commit comments