Skip to content

Commit

Permalink
Remove unused PR label mechanism for PR image building
Browse files Browse the repository at this point in the history
  • Loading branch information
hannes-mk committed Jan 6, 2025
1 parent 19d52f3 commit fd1eca4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ jobs:
container-image-version: ${{ github.event.pull_request.head.sha || github.sha }}

frontend-push-image-to-registry:
if: ${{ github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'dev-env') || contains(github.event.labeled.labels.*.name, 'dev-env') }}
if: ${{ github.ref == 'refs/heads/main' }}
# For PR releases, labels could be used like this:
# if: ${{ github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'dev-env') || contains(github.event.labeled.labels.*.name, 'dev-env') }}
uses: ./.github/workflows/frontend-push-image-to-registry.yml
secrets: inherit
permissions:
Expand Down

0 comments on commit fd1eca4

Please sign in to comment.