diff --git a/.github/workflows/automated_release.yml b/.github/workflows/automated_release.yml index 92633b1e2..fc9dab9a3 100644 --- a/.github/workflows/automated_release.yml +++ b/.github/workflows/automated_release.yml @@ -132,7 +132,7 @@ jobs: delete-release-on-failure: runs-on: ubuntu-24.04 - needs: create-draft-release + needs: finalize-release if: ${{ failure() || cancelled() }} permissions: contents: write diff --git a/.github/workflows/coverage_report.yml b/.github/workflows/coverage_report.yml index 8e635a53b..2ac716e62 100644 --- a/.github/workflows/coverage_report.yml +++ b/.github/workflows/coverage_report.yml @@ -24,8 +24,6 @@ on: jobs: coverage-report: runs-on: ubuntu-24.04 - permissions: - contents: write # required to upload release assets outputs: artifact-name: ${{ steps.set-artifact-name.outputs.artifact-name }}