Skip to content

Commit

Permalink
Build PR when a build label is added
Browse files Browse the repository at this point in the history
  • Loading branch information
armanddidierjean committed Mar 16, 2024
1 parent a7eae43 commit 87d0cbc
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
Expand Up @@ -8,11 +8,13 @@ on:
required: false
type: string
pull_request:
types: ["labeled"]

jobs:
build:
name: Build ${{ matrix.name }}
runs-on: macos-latest
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.labels.*.name == "build"}}
strategy:
matrix:
include:
Expand Down

0 comments on commit 87d0cbc

Please sign in to comment.