Skip to content

Commit 5789e0c

Browse files
committed
chore(cicd): if for automerge
1 parent 36aae75 commit 5789e0c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,13 @@ jobs:
2929
echo "event type: ${{ github.event.pull_request.type || 'N/A' }}"
3030
echo "Pull request user login: ${{ github.event.pull_request.user.login }}"
3131
echo "Repository: ${{ github.repository }}"
32+
echo "Event name: ${{ github.event_name }}"
33+
echo "Event action: ${{ github.event.action }}
3234
3335
# Branch rules ensure doesnt auto merge if shouldnt
3436
auto-merge:
3537
runs-on: ubuntu-latest
36-
# qqqq add in after testing, and harder checks for what it is doing if: github.actor == 'dependabot[bot]'
37-
# if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'TechnologyEnhancedLearning/TELBlazor'
38+
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'TechnologyEnhancedLearning/TELBlazor' }}
3839
steps:
3940
- name: Checkout the repository
4041
uses: actions/checkout@v4

0 commit comments

Comments
 (0)