Skip to content
7 changes: 4 additions & 3 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ jobs:
docker-opts:
if: |
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'push' && github.event.pull_request.merged == true)
github.event_name == 'push' ||
(github.event_name == 'pull_request' && github.event.pull_request.merged == true)
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with
ref: ${{ github.event.pull_request.base.ref }}
with:
ref: ${{ github.event.pull_request.base.ref || github.ref }}

- name: Get tag
shell: bash
Expand Down