From 1d4d523360e733beaa5ae856e425cacb20659e2f Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Tue, 28 Jun 2022 19:17:37 +0500 Subject: [PATCH 1/2] variables and branche changed --- .github/workflows/integration_test.yml | 15 +++++++-------- .github/workflows/python.yml | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/integration_test.yml b/.github/workflows/integration_test.yml index c0bc8908..397df55b 100644 --- a/.github/workflows/integration_test.yml +++ b/.github/workflows/integration_test.yml @@ -21,7 +21,7 @@ jobs: token: ${{ secrets.CI_USER_TOKEN }} repository: 'optimizely/travisci-tools' path: 'home/runner/travisci-tools' - ref: 'master' + ref: 'mnoman/gitActions' - name: set SDK Branch if PR if: ${{ github.event_name == 'pull_request' }} run: | @@ -38,16 +38,15 @@ jobs: BUILD_NUMBER: ${{ github.run_id }} TESTAPP_BRANCH: master GITHUB_TOKEN: ${{ secrets.CI_USER_TOKEN }} - TRAVIS_EVENT_TYPE: ${{ github.event_name }} + EVENT_TYPE: ${{ github.event_name }} GITHUB_CONTEXT: ${{ toJson(github) }} - TRAVIS_REPO_SLUG: ${{ github.repository }} - TRAVIS_PULL_REQUEST_SLUG: ${{ github.repository }} + #REPO_SLUG: ${{ github.repository }} + PULL_REQUEST_SLUG: ${{ github.repository }} UPSTREAM_REPO: ${{ github.repository }} - TRAVIS_COMMIT: ${{ github.sha }} - TRAVIS_PULL_REQUEST_SHA: ${{ github.event.pull_request.head.sha }} - TRAVIS_PULL_REQUEST: ${{ github.event.pull_request.number }} + PULL_REQUEST_SHA: ${{ github.event.pull_request.head.sha }} + PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }} UPSTREAM_SHA: ${{ github.sha }} - TRAVIS_COM_TOKEN: ${{ secrets.TRAVIS_COM_TOKEN }} + TOKEN: ${{ secrets.TRAVIS_COM_TOKEN }} EVENT_MESSAGE: ${{ github.event.message }} HOME: 'home/runner' run: | diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 574472de..8e885ebb 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -46,7 +46,7 @@ jobs: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics integration_tests: - uses: optimizely/python-sdk/.github/workflows/integration_test.yml@master + uses: optimizely/python-sdk/.github/workflows/integration_test.yml@uzair/test-with-fsc secrets: CI_USER_TOKEN: ${{ secrets.CI_USER_TOKEN }} TRAVIS_COM_TOKEN: ${{ secrets.TRAVIS_COM_TOKEN }} From 6a386b221ae5cfe5ff425ef318cb1f138da4208f Mon Sep 17 00:00:00 2001 From: Mirza Sohail Hussain Date: Mon, 11 Jul 2022 11:33:30 -0700 Subject: [PATCH 2/2] updated branch to master --- .github/workflows/integration_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration_test.yml b/.github/workflows/integration_test.yml index 397df55b..9a4e5eb1 100644 --- a/.github/workflows/integration_test.yml +++ b/.github/workflows/integration_test.yml @@ -21,7 +21,7 @@ jobs: token: ${{ secrets.CI_USER_TOKEN }} repository: 'optimizely/travisci-tools' path: 'home/runner/travisci-tools' - ref: 'mnoman/gitActions' + ref: 'master' - name: set SDK Branch if PR if: ${{ github.event_name == 'pull_request' }} run: |