Skip to content

Commit

Permalink
Update pull_request_opened.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NaoUnderscore authored Jul 12, 2024
1 parent 6fdd4eb commit 4023490
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pull_request_opened.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- opened
- labeled
- unlabeled
- edited
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -40,13 +41,13 @@ jobs:
run: |
run: |
echo "Debug: Fetching PR title and labels"
PR_TITLE=$(echo '${{ steps.get_pr.outputs.data }}' | jq -r '.title')
PR_LABELS=$(echo '${{ steps.get_pr.outputs.data }}' | jq -r '.labels | map(.name) | join(",")')
echo "PR_TITLE: $PR_TITLE"
echo "PR_LABELS: $PR_LABELS"
PREFIX=""
if [[ "$PR_LABELS" == *"Documentation"* ]]; then
Expand Down

0 comments on commit 4023490

Please sign in to comment.