Skip to content

Commit

Permalink
fixup! build: add Action to start Jenkins CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarchini committed Jun 27, 2020
1 parent 3cae24f commit 0ff0fec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ jobs:
ncu-config set repo ${{ env.REPOSITORY }}
- name: Start CI
run: ./tools/start-ci.sh $(echo '${{ steps.get_prs_for_ci.outputs.data }}' | jq '.repository.pullRequests.nodes | map(.number) | .[]')
run: ./tools/start-ci.sh ${{ secrets.GITHUB_TOKEN }} ${{ env.OWNER }} ${{ env.REPOSITORY }} $(echo '${{ steps.get_prs_for_ci.outputs.data }}' | jq '.repository.pullRequests.nodes | map(.number) | .[]')
4 changes: 4 additions & 0 deletions tools/start-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@

set -xe

GITHUB_TOKEN=$1
OWNER=$2
REPOSITORY=$3
REQUEST_CI_LABEL='request-ci'
REQUEST_CI_FAILED_LABEL='request-ci-failed'
shift 3

function issueUrl() {
echo "$API_URL/repos/${OWNER}/${REPOSITORY}/issues/${1}"
Expand Down

0 comments on commit 0ff0fec

Please sign in to comment.