Skip to content

Commit f6c755a

Browse files
authored
Merge pull request #237 from TechnologyEnhancedLearning/ci-dependabot-setup
chore(dependabot): naming caps
2 parents 1ce7b80 + d744e96 commit f6c755a

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/automerge-dependabot-prs-into-collected-branch.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
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

0 commit comments

Comments
 (0)