mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-29 16:24:26 +01:00
Fix job names
This commit is contained in:
parent
9cb1e4af5c
commit
d0aa8042e2
6
.github/workflows/milestone-workflow.yml
vendored
6
.github/workflows/milestone-workflow.yml
vendored
@ -121,7 +121,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Create the $MILESTONE_VERSION label
|
- name: Create the ${{ env.MILESTONE_VERSION }} label
|
||||||
run: |
|
run: |
|
||||||
label_description="PRs/issues solved in $MILESTONE_VERSION"
|
label_description="PRs/issues solved in $MILESTONE_VERSION"
|
||||||
if [[ ! -z $MILESTONE_DUE_ON ]]; then
|
if [[ ! -z $MILESTONE_DUE_ON ]]; then
|
||||||
@ -142,13 +142,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Add label $MILESTONE_VERSION to all PRs in the Milestone
|
- name: Add label ${{ env.MILESTONE_VERSION }} to all PRs in the Milestone
|
||||||
run: |
|
run: |
|
||||||
prs=$(gh pr list --search milestone:"$MILESTONE_VERSION" --limit 1000 --state all --json number --template '{{range .}}{{tablerow (printf "%v" .number)}}{{end}}')
|
prs=$(gh pr list --search milestone:"$MILESTONE_VERSION" --limit 1000 --state all --json number --template '{{range .}}{{tablerow (printf "%v" .number)}}{{end}}')
|
||||||
for pr in $prs; do
|
for pr in $prs; do
|
||||||
gh pr $pr edit --add-label $MILESTONE_VERSION
|
gh pr $pr edit --add-label $MILESTONE_VERSION
|
||||||
done
|
done
|
||||||
- name: Add label $MILESTONE_VERSION to all issues in the Milestone
|
- name: Add label ${{ env.MILESTONE_VERSION }} to all issues in the Milestone
|
||||||
run: |
|
run: |
|
||||||
issues=$(gh issue list --search milestone:"$MILESTONE_VERSION" --limit 1000 --state all --json number --template '{{range .}}{{tablerow (printf "%v" .number)}}{{end}}')
|
issues=$(gh issue list --search milestone:"$MILESTONE_VERSION" --limit 1000 --state all --json number --template '{{range .}}{{tablerow (printf "%v" .number)}}{{end}}')
|
||||||
for issue in $issues; do
|
for issue in $issues; do
|
||||||
|
Loading…
Reference in New Issue
Block a user