Skip to content

Commit f528fc0

Browse files
authored
Allow dependabot to run workflows (#196)
* Add dependabot .yml and pin broken dependencies * Fix pandas dependency * Add exception to dependabot to run workflows
1 parent 44cce27 commit f528fc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ jobs:
4545
username: ${{ github.triggering_actor }}
4646
env:
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48-
# If neither has permissions and no 'safe to test' label throw error
48+
# If neither has permissions and no 'safe to test' label and not dependabot throw error
4949
- name: Check User Permission
50-
if: steps.checkAccess.outputs.require-result == 'false' && steps.checkTriggeringAccess.outputs.require-result == 'false' && !contains(github.event.pull_request.labels.*.name, 'safe to test')
50+
if: steps.checkAccess.outputs.require-result == 'false' && steps.checkTriggeringAccess.outputs.require-result == 'false' && !contains(github.event.pull_request.labels.*.name, 'safe to test') && (github.actor != 'dependabot[bot]')
5151
shell: bash
5252
run: |
5353
echo "${{ github.triggering_actor }} does not have permissions on this repo."

0 commit comments

Comments
 (0)