diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9734987..d84c82e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,21 +39,3 @@ jobs: uses: codecov/codecov-action@v1 with: file: ./coverage.xml - # The below step just reports the success or failure of tests as a "commit status". - # This is needed for copybara integration. - - name: Report success or failure as github status - if: always() - shell: bash - run: | - status="${{ job.status }}" - lowercase_status=$(echo $status | tr '[:upper:]' '[:lower:]') - curl -sS --request POST \ - --url https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.sha }} \ - --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \ - --header 'content-type: application/json' \ - --data '{ - "state": "'$lowercase_status'", - "target_url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}", - "description": "'$status'", - "context": "github-actions/Build" - }'