Skip to content

Commit 22f0f1e

Browse files
author
amvanbaren
committed
Don't run workflow when granted or denied label has been added
1 parent f3aebf1 commit 22f0f1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/claim-namespace.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
namespace:
77
name: Namespace Claim Checks
88
runs-on: ubuntu-latest
9-
if: contains(github.event.issue.labels.*.name, 'namespace') && startsWith(github.event.issue.title, 'Claiming namespace')
9+
if: ${{ contains(github.event.issue.labels.*.name, 'namespace') && !contains(github.event.issue.labels.*.name, 'granted') && !contains(github.event.issue.labels.*.name, 'denied') && startsWith(github.event.issue.title, 'Claiming namespace') }}
1010
steps:
1111
- id: get_namespace
1212
name: Get namespace name

0 commit comments

Comments
 (0)