Skip to content

Commit fc4f09d

Browse files
authored
Merge pull request #4205 from FlowFuse/ci-dependabot-pre-staging-skip
ci: Skip pre-staging workflow on dependabot pull requests
2 parents 34023c6 + ef82f8c commit fc4f09d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/branch-deploy.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
name: Validate trigger author
2222
runs-on: ubuntu-latest
2323
if: |
24-
github.event_name == 'pull_request'
24+
github.event_name == 'pull_request' &&
25+
github.actor != 'dependabot[bot]'
2526
outputs:
2627
is_org_member: ${{ steps.validate.outputs.is_member }}
2728
steps:
@@ -209,7 +210,9 @@ jobs:
209210
notify-slack:
210211
name: Notify about pre-staging deployment
211212
needs: [deploy]
212-
if: success() || failure()
213+
if: |
214+
( success() || failure() ) &&
215+
github.actor != 'dependabot[bot]'
213216
runs-on: ubuntu-latest
214217
env:
215218
PR_NUMBER: ${{ github.event.number }}

0 commit comments

Comments
 (0)