mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-12-26 01:13:41 +02:00
Autocloser: Fix issues API URL (#8716)
This commit is contained in:
parent
541fd43db1
commit
bfdb2d7659
2
.github/workflows/autoclose-issues.yml
vendored
2
.github/workflows/autoclose-issues.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
- id: get-labels
|
- id: get-labels
|
||||||
name: Get labels
|
name: Get labels
|
||||||
run: |
|
run: |
|
||||||
labels="$(curl --retry 5 -s https://api.github.com/repos/simple-icons/simple-icons/pulls/${{ github.event.issue.number }} | jq '.labels[].name' | tr '\n' ',' | sed -e 's/"//g' -e 's/,$//')"
|
labels="$(curl --retry 5 -s https://api.github.com/repos/simple-icons/simple-icons/issues/${{ github.event.issue.number }} | jq '.labels[].name' | tr '\n' ',' | sed -e 's/"//g' -e 's/,$//')"
|
||||||
echo "labels=$labels" >> $GITHUB_OUTPUT
|
echo "labels=$labels" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
# if the issue is labeled as a 'new icon' and it matches Java, we
|
# if the issue is labeled as a 'new icon' and it matches Java, we
|
||||||
|
Loading…
Reference in New Issue
Block a user