Skip to content

Commit

Permalink
Attempt to run the workflow on target (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-persson authored Nov 24, 2023
1 parent 7e856ed commit a8a9b50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: Build and push

on:
pull_request:
pull_request_target:
branches: [ "main" ]
types:
- closed
workflow_dispatch:

jobs:
build:
if: github.event.pull_request.merged == true
if: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit a8a9b50

Please sign in to comment.