99 secrets :
1010 CI_USER_TOKEN :
1111 required : true
12- TRAVIS_COM_TOKEN :
13- required : true
1412jobs :
1513 test :
1614 runs-on : ubuntu-latest
@@ -19,23 +17,21 @@ jobs:
1917 with :
2018 # You should create a personal access token and store it in your repository
2119 token : ${{ secrets.CI_USER_TOKEN }}
22- repository : ' optimizely/travisci -tools'
23- path : ' home/runner/travisci -tools'
20+ repository : ' optimizely/ci-helper -tools'
21+ path : ' home/runner/ci-helper -tools'
2422 ref : ' master'
2523 - name : set SDK Branch if PR
2624 env :
2725 HEAD_REF : ${{ github.head_ref }}
2826 if : ${{ github.event_name == 'pull_request' }}
2927 run : |
3028 echo "SDK_BRANCH=$HEAD_REF" >> $GITHUB_ENV
31- echo "TRAVIS_BRANCH=$HEAD_REF" >> $GITHUB_ENV
3229 - name : set SDK Branch if not pull request
3330 env :
3431 REF_NAME : ${{ github.ref_name }}
3532 if : ${{ github.event_name != 'pull_request' }}
3633 run : |
3734 echo "SDK_BRANCH=$REF_NAME" >> $GITHUB_ENV
38- echo "TRAVIS_BRANCH=$REF_NAME" >> $GITHUB_ENV
3935 - name : Trigger build
4036 env :
4137 SDK : java
5147 PULL_REQUEST_SHA : ${{ github.event.pull_request.head.sha }}
5248 PULL_REQUEST_NUMBER : ${{ github.event.pull_request.number }}
5349 UPSTREAM_SHA : ${{ github.sha }}
54- TOKEN : ${{ secrets.TRAVIS_COM_TOKEN }}
55- TRAVIS_COM_TOKEN : ${{ secrets.TRAVIS_COM_TOKEN }}
5650 EVENT_MESSAGE : ${{ github.event.message }}
5751 HOME : ' home/runner'
5852 run : |
5953 echo "$GITHUB_CONTEXT"
60- home/runner/travisci -tools/trigger-script-with-status-update.sh
54+ home/runner/ci-helper -tools/trigger-script-with-status-update.sh
0 commit comments