Skip to content

Commit 5b67a9b

Browse files
authored
Merge pull request #4076 from amvanbaren/automate-claim-namespace
check makeOwner for grant_namespace step
2 parents d443d45 + c9662c9 commit 5b67a9b

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
@@ -61,7 +61,7 @@ jobs:
6161
configuration: '{ "method": "POST" }'
6262
- id: grant_namespace
6363
name: Grant namespace
64-
if: ${{ fromJSON(steps.change_member.outputs.fetchApiData).success == format('Changed role of {0} in {1} to owner.', github.event.issue.user.login, steps.get_namespace.outputs.namespace) }}
64+
if: ${{ steps.make_owner.outputs.makeOwner == 'true' && fromJSON(steps.change_member.outputs.fetchApiData).success == format('Changed role of {0} in {1} to owner.', github.event.issue.user.login, steps.get_namespace.outputs.namespace) }}
6565
run: |
6666
gh issue edit "$NUMBER" --add-label "$LABELS" --add-assignee "$ASSIGNEE"
6767
gh issue close "$NUMBER" -r "completed"

0 commit comments

Comments
 (0)