Skip to content

Commit

Permalink
chore(ci): add appropriate labels to each PR
Browse files Browse the repository at this point in the history
  • Loading branch information
MilosPaunovic committed Feb 14, 2025
1 parent a6142da commit 1f9907f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@ pr-labels:
run: |
PR_AUTHOR=$(gh api repos/kestra-io/kestra/pulls/${{ github.event.pull_request.number }} --jq '.user.login')
echo "PR Author: $PR_AUTHOR"
ITEM_ID=$(gh api --method POST /projects/16/items \
-F content_id="${{ github.event.pull_request.node_id }}" \
-F content_id=${{ github.event.pull_request.node_id }} \
--jq '.id')
echo "Added PR to Project. Item ID: $ITEM_ID"
file-changes:
name: File changes detection
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1f9907f

Please sign in to comment.