Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
Mesteery and aduh95 committed Nov 27, 2021
1 parent b966c11 commit 3556bfe
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/auto-start-ci.yml
Expand Up @@ -41,7 +41,11 @@ jobs:
- name: Get Pull Requests and start CI
run: |
prs=`gh pr list --repo ${{ github.repository }} --limit 100 --json number -q 'map(.number) | .[]'`
./tools/actions/start-ci.sh $(echo $prs)
PRs=$(gh pr list \
--repo ${{ github.repository }} \
--label 'request-ci' \
--json number --jq 'map(.number) | .[]' \
--limit 100)
./tools/actions/start-ci.sh "$PRs"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 6 additions & 2 deletions .github/workflows/commit-queue.yml
Expand Up @@ -63,7 +63,11 @@ jobs:

- name: Get Pull Requests and start the commit queue
run: |
prs=`gh pr list --repo ${{ github.repository }} --base ${{ env.DEFAULT_BRANCH }} --limit 100 --json number -q 'map(.number) | .[]'`
./tools/actions/commit-queue.sh ${OWNER} ${REPOSITORY} $(echo $prs)
PRs=$(gh pr list \
--repo ${{ github.repository }} --base ${{ env.DEFAULT_BRANCH }} \
--label 'commit-queue' \
--json number --jq 'map(.number) | .[]' \
--limit 100)
./tools/actions/commit-queue.sh ${{ env.OWNER }} ${{ env.REPOSITORY }} "$PRs"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3556bfe

Please sign in to comment.