Browse Source

add hold label to release files Renovate PR

BRE-757-suspend-renovate-updates
Opeyemi Alao 8 months ago
parent
commit
56378a8fcc
No known key found for this signature in database
GPG Key ID: 8F3E63D26B40E836
  1. 10
      .github/renovate.json
  2. 16
      .github/workflows/enforce-labels.yml

10
.github/renovate.json

@ -17,6 +17,16 @@ @@ -17,6 +17,16 @@
"groupName": "gh minor",
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["minor", "patch"]
},
{
"groupName": "github-actions",
"matchManagers": ["github-actions"],
"matchFileNames": [
"./github/workflows/release-digital-ocean.yml",
"./github/workflows/release.yml"
],
"commitMessagePrefix": "[deps] BRE:",
"addLabels": ["hold"]
}
]
}

16
.github/workflows/enforce-labels.yml

@ -0,0 +1,16 @@ @@ -0,0 +1,16 @@
name: Enforce PR labels
on:
workflow_call:
pull_request:
types: [labeled, unlabeled, opened, edited, synchronize]
jobs:
enforce-label:
name: EnforceLabel
runs-on: ubuntu-22.04
steps:
- name: Enforce Label
uses: yogevbd/enforce-label-action@a3c219da6b8fa73f6ba62b68ff09c469b3a1c024 # 2.2.2
with:
BANNED_LABELS: "hold,needs-qa"
BANNED_LABELS_DESCRIPTION: "PRs with the hold or needs-qa labels cannot be merged"
Loading…
Cancel
Save