mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-03-09 09:31:32 +01:00
wip debug the url
This commit is contained in:
parent
fa6459335c
commit
56b01e28a1
3
.github/workflows/db-change.yml
vendored
3
.github/workflows/db-change.yml
vendored
@ -16,6 +16,9 @@ jobs:
|
|||||||
- name: Check db change labels
|
- name: Check db change labels
|
||||||
id: check_labels
|
id: check_labels
|
||||||
run: |
|
run: |
|
||||||
|
URL=/repos/meilisearch/meilisearch/pulls/${{ github.event.pull_request.number }}/labels
|
||||||
|
echo ${{ github.event.pull_request.number }}
|
||||||
|
echo $URL
|
||||||
LABELS=$(gh api -H "Accept: application/vnd.github.v3+json" /repos/meilisearch/meilisearch/pulls/${{ github.event.pull_request.number }}/labels -q .[].name)
|
LABELS=$(gh api -H "Accept: application/vnd.github.v3+json" /repos/meilisearch/meilisearch/pulls/${{ github.event.pull_request.number }}/labels -q .[].name)
|
||||||
if [[ ! "$LABELS" =~ "db change" && ! "$LABELS" =~ "no db change" ]]; then
|
if [[ ! "$LABELS" =~ "db change" && ! "$LABELS" =~ "no db change" ]]; then
|
||||||
echo "::error::Pull request must contain either the 'db change' or 'no db change' label."
|
echo "::error::Pull request must contain either the 'db change' or 'no db change' label."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user