diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 11f142dc..cf4b05b8 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -9,6 +9,9 @@ jobs: test: name: Build and Test runs-on: ubuntu-20.04-8core-sl + concurrency: + group: ${{ github.workflow }}-main + cancel-in-progress: false permissions: contents: read deployments: write @@ -71,6 +74,7 @@ jobs: - name: Update ${{ matrix.images.environment }} Deployment uses: bobheadxi/deployments@v1.3.0 + if: always() with: step: finish token: ${{ secrets.GITHUB_TOKEN }} @@ -80,8 +84,8 @@ jobs: env_url: https://github.com/github/super-linter - name: Create Issue on Failure - if: failure() uses: actions/github-script@v6 + if: failure() with: github-token: ${{secrets.GITHUB_TOKEN}} script: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0845f700..bb82f9cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,8 +56,7 @@ jobs: run: make IMAGE=${{ matrix.images.target }} test - name: Upload Code Coverage Report - uses: codacy/codacy-coverage-reporter-action@v1.1 - # Sometimes this fails when user does not have permissions to secrets + uses: codacy/codacy-coverage-reporter-action@v1 continue-on-error: true with: project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}