diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 45bd6aec426..8fd49f0675b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,16 +42,11 @@ jobs: # running in parallel causes some tests to fail - run: mvn test -B # -T 1C - - name: Parse branch name - env: - BRANCH: ${{ github.head_ref || github.ref }} - id: setup - run: | - echo "::set-output name=branch-name::${BRANCH#refs/heads/}" - env: CI_BUILD_NUMBER: ${{ github.run_id }} - CI_BUILD_URL: https://github.com/${{ github.repository }}/comit/${{ github.sha }}/checks - CI_BRANCH: ${{ steps.setup.output.branch-name }} + # this will need to be updated to work on the main branch + CI_BUILD_URL: https://github.com/${{ github.repository }}/pull/${{ github.event.pull_request.number }}/checks + CI_BRANCH: ${{ github.head_ref }} CI_NAME: github CI_PULL_REQUEST: ${{ github.event.pull_request.number }} run: >