Skip to content

Commit

Permalink
[DDS-1723] Updated workflow event trigger for PRs.
Browse files Browse the repository at this point in the history
  • Loading branch information
GROwen committed Oct 13, 2023
1 parent 6ad19d8 commit 5d957db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
schedule:
- cron: '23 20 * * 0'
workflow_dispatch:
push:
pull_request:
branches:
- 'build/**'
pull_request_target:
Expand All @@ -15,7 +15,7 @@ env:
REGISTRY: ghcr.io
jobs:
buildx:
if: github.event.pull_request.merged == true || (github.event_name == 'push' && startsWith(github.ref, 'refs/heads/build/')) || contains(fromJson('["schedule", "workflow_dispatch"]'), github.event_name)
if: github.event.pull_request.merged == true || (github.event_name == 'pull_request' && startsWith(github.ref, 'refs/heads/build/')) || contains(fromJson('["schedule", "workflow_dispatch"]'), github.event_name)
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down

0 comments on commit 5d957db

Please sign in to comment.