Skip to content

Commit

Permalink
ci(updater): add dependencies label to pr
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianDsg authored Apr 25, 2024
1 parent defad96 commit c0c8654
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/update-json-assets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
id: pr-body
run: |
json_path="assets/**/*.json"
# capturing git diff stats and removing whitespace
diff_shortstat=$(git diff --shortstat "$json_path" | sed -re 's/^[[:blank:]]+|[[:blank:]]+$//g' -e 's/[[:blank:]]+/ /g')
diff_numstat=$(git diff --numstat "$json_path" | sed -re 's/^[[:blank:]]+|[[:blank:]]+$//g' -e 's/[[:blank:]]+/ /g')
Expand Down Expand Up @@ -80,5 +81,5 @@ jobs:
base: main
title: "Update JSON files in assets/"
body: ${{ steps.pr-body.outputs.pr_body }}
# labels:
labels: dependencies
draft: false

0 comments on commit c0c8654

Please sign in to comment.