Skip to content

Commit 16c3faa

Browse files
committed
CI: rename restricted paths guard workflow
Use workflow, job, and summary names that match the current restricted-paths guard behavior and read more clearly in the GitHub checks UI. Made-with: Cursor
1 parent 3141d89 commit 16c3faa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/pr-author-org-check.yml renamed to .github/workflows/restricted-paths-guard.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ on:
1414
- ready_for_review
1515

1616
jobs:
17-
check-author-org:
18-
name: Label for manual review
17+
restricted-paths-guard:
18+
name: Apply review label if needed
1919
if: github.repository_owner == 'NVIDIA'
2020
runs-on: ubuntu-latest
2121
permissions:
@@ -61,7 +61,7 @@ jobs:
6161
); then
6262
echo "::error::Failed to inspect the PR file list."
6363
{
64-
echo "## PR Author Organization Check Failed"
64+
echo "## Restricted Paths Guard Failed"
6565
echo ""
6666
echo "- **Error**: Failed to inspect the PR file list."
6767
echo "- **Author**: $PR_AUTHOR"
@@ -109,7 +109,7 @@ jobs:
109109
elif ! gh issue edit "$PR_NUMBER" --repo "$REPO" --add-label "$REVIEW_LABEL"; then
110110
echo "::error::Failed to add the $REVIEW_LABEL label."
111111
{
112-
echo "## PR Author Organization Check Failed"
112+
echo "## Restricted Paths Guard Failed"
113113
echo ""
114114
echo "- **Error**: Failed to add the \`$REVIEW_LABEL\` label."
115115
echo "- **Author**: $PR_AUTHOR"
@@ -126,7 +126,7 @@ jobs:
126126
fi
127127
128128
{
129-
echo "## PR Author Organization Check Completed"
129+
echo "## Restricted Paths Guard Completed"
130130
echo ""
131131
echo "- **Author**: $PR_AUTHOR"
132132
echo "- **Author association**: $AUTHOR_ASSOCIATION"

0 commit comments

Comments
 (0)