Commit 2a5a492b authored by yogevbd's avatar yogevbd

Add .github/main.workflow

parent 6e726d1d
workflow "Verify labels" {
on = "pull_request"
resolves = "VerifyLabels"
}
action "VerifyLabels" {
uses = "yogevbd/enforce-label-action@test"
secrets = ["GITHUB_TOKEN"]
env = {
VALID_LABELS = "bug,enhancement,feature"
}
}
\ No newline at end of file
name: Require PR label
on: [pull_request]
jobs:
require-label:
runs-on: ubuntu-latest
steps:
- uses: yogevbd/require-label-action@master
with:
valid-labels: ["bug", "enhancement", "feature"]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment