File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Wait for check name
2+ on :
3+ push :
4+ workflow_dispatch :
5+
6+ jobs :
7+ wait-without-token :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v2
11+ - name : Wait without token
12+ uses : ./
13+ with :
14+ ref : ${{ github.sha }}
15+ wait-interval : 10 # seconds
16+ running-workflow-name : wait-without-token
17+ check-name : wait-on-me
18+
19+ - name : Success
20+ run : echo 'Success!'
Original file line number Diff line number Diff line change 1515 config . allowed_conclusions = allowed_conclusions . split ( "," ) . map ( &:strip )
1616 config . check_name = check_name
1717 config . check_regexp = check_regexp
18- config . client = Octokit ::Client . new ( access_token : token , auto_paginate : true )
18+ config . client = Octokit ::Client . new ( auto_paginate : true )
19+ config . client . access_token = token unless token . empty?
1920 config . ref = ref
2021 config . repo = ENV [ "GITHUB_REPOSITORY" ]
2122 config . verbose = verbose
You can’t perform that action at this time.
0 commit comments