Skip to content

Commit 3d65810

Browse files
committed
fix(ci): allow draft PRs to login to GHCR
Remove draft check from container registry login condition so draft PRs can also build and push images.
1 parent a0db0a5 commit 3d65810

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/qa.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,7 @@ jobs:
9797
disable_node: "true"
9898

9999
- name: Login to GitHub Container Registry
100-
if: |
101-
github.event_name == 'push' ||
102-
(github.event_name == 'pull_request' && github.event.pull_request.draft == false)
100+
if: github.event_name == 'push' || github.event_name == 'pull_request'
103101
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
104102
with:
105103
registry: ghcr.io

0 commit comments

Comments
 (0)