Skip to content

Commit dc8ce29

Browse files
remove travis token
1 parent ee2c30a commit dc8ce29

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ on:
66
action:
77
required: true
88
type: string
9-
travis_tag:
10-
required: true
11-
type: string
129
secrets:
1310
MAVEN_SIGNING_KEY_BASE64:
1411
required: true
@@ -37,4 +34,4 @@ jobs:
3734
MAVEN_SIGNING_PASSPHRASE: ${{ secrets.MAVEN_SIGNING_PASSPHRASE }}
3835
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
3936
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
40-
run: TRAVIS_TAG=${{ inputs.travis_tag }} ./gradlew ${{ inputs.action }}
37+
run: ./gradlew ${{ inputs.action }}

.github/workflows/integration_test.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ on:
99
secrets:
1010
CI_USER_TOKEN:
1111
required: true
12-
TRAVIS_COM_TOKEN:
13-
required: true
1412
jobs:
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
@@ -51,10 +47,8 @@ jobs:
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

Comments
 (0)