Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

Commit

Permalink
fix: allow forks to push to registry with label (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoceppi authored Feb 28, 2023
1 parent dadc3ba commit 14b1b7c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: build-ublue
on:
pull_request:
pull_request_target:
types: [labeled]
branches:
- main
paths-ignore:
Expand All @@ -22,6 +23,7 @@ jobs:
push-ghcr:
name: Build and push image
runs-on: ubuntu-22.04
if: contains(github.event.pull_request.labels.*.name, 'ok-to-build')
permissions:
contents: read
packages: write
Expand Down

0 comments on commit 14b1b7c

Please sign in to comment.