diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e5c83377..4dcb9087b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest needs: [build, verify] if: | - (*github.repository == 'prometheus-community/yet-another-cloudwatch-exporter') + (github.repository == 'prometheus-community/yet-another-cloudwatch-exporter') && (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v.')) steps: