fix: allow forks to push to registry with label (#86)

This commit is contained in:
Marco Ceppi
2023-02-27 21:58:54 -05:00
committed by GitHub
parent dadc3ba2ff
commit 14b1b7cb04

View File

@@ -1,6 +1,7 @@
name: build-ublue
on:
pull_request:
pull_request_target:
types: [labeled]
branches:
- main
paths-ignore:
@@ -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