diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 0fd24fd16e..934e4311a5 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -17,9 +17,6 @@ jobs: name: Target & Verify PR runs-on: ubuntu-20.04 env: - ACTIVESTATE_CI: true - ACTIVESTATE_CLI_DISABLE_RUNTIME: true - SHELL: bash GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} JIRA_USERNAME: ${{ secrets.JIRA_EMAIL }} JIRA_TOKEN: ${{ secrets.JIRA_TOKEN }} @@ -43,21 +40,6 @@ jobs: name: Install State Tool uses: ActiveState/setup-state-tool@v1 - - # === Setup === - name: Setup - shell: bash - run: | - bin=$(pwd)/.github/deps/${{ runner.os }}/bin - echo "Adding $bin to PATH" - echo "$bin" >> $GITHUB_PATH - ls -ahl $bin - printenv - - - # === Install Deps === - name: Install Deps - shell: bash - run: state run install-deps - - # === Preprocess === name: Preprocess shell: bash @@ -65,6 +47,7 @@ jobs: - # === Set Target PR & FixVersion === name: Set Target PR and FixVersion + if: github.event.action == 'opened' || github.event.action == 'reopened' shell: bash run: go run scripts/ci/target-version-pr/main.go ${{ github.event.pull_request.number }}