We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5398bbf commit 4197b9cCopy full SHA for 4197b9c
.github/workflows/codeowners-validator.yml
@@ -73,8 +73,7 @@ jobs:
73
REPO_JSON=$(curl -s "${{github.api_url}}/repos/${{github.repository}}" -H "Authorization: token ${{env.VALIDATION_TOKEN}}")
74
OWNER_TYPE=$(echo $REPO_JSON | jq -r '.owner.type')
75
OWNER_TYPE=$(echo "$OWNER_TYPE" | tr '[:upper:]' '[:lower:]')
76
- echo "Owner type: $OWNER_TYPE"
77
- echo "::set-output name=owner-type::$OWNER_TYPE"
+ echo "owner-type=$OWNER_TYPE" | tee -a $GITHUB_OUTPUT
78
79
- name: Basic CODEOWNERS validation
80
if: ${{steps.owner-type.outputs.owner-type != 'organization'}}
0 commit comments