diff --git a/.github/workflows/enforce-labels.yml b/.github/workflows/enforce-labels.yml index 7eb09699ef..0a63c70e4a 100644 --- a/.github/workflows/enforce-labels.yml +++ b/.github/workflows/enforce-labels.yml @@ -1,3 +1,4 @@ +--- name: Enforce PR labels on: @@ -5,9 +6,11 @@ on: types: [labeled, unlabeled, opened, edited, synchronize] jobs: enforce-label: - runs-on: ubuntu-latest + name: EnforceLabel + runs-on: ubuntu-20.04 steps: - - uses: yogevbd/enforce-label-action@8d1e1709b1011e6d90400a0e6cf7c0b77aa5efeb - with: - BANNED_LABELS: "hold" - BANNED_LABELS_DESCRIPTION: "PRs on hold cannot be merged" + - name: Enforce Label + uses: yogevbd/enforce-label-action@8d1e1709b1011e6d90400a0e6cf7c0b77aa5efeb + with: + BANNED_LABELS: "hold" + BANNED_LABELS_DESCRIPTION: "PRs on hold cannot be merged"