diff --git a/.github/workflows/ci-cd.yaml b/.github/workflows/ci-cd.yaml index 7136249..78cb414 100644 --- a/.github/workflows/ci-cd.yaml +++ b/.github/workflows/ci-cd.yaml @@ -5,6 +5,8 @@ on: push: branches: - "main" + tags: + - .* pull_request: branches: - "main" @@ -67,7 +69,7 @@ jobs: id-token: write security-events: write if: | - startsWith(github.ref, 'refs/tags/socket-exporter-') + startsWith(github.ref, 'refs/tags/') with: workload-id-provider: projects/1094498259535/locations/global/workloadIdentityPools/gh-socket-exporter/providers/github-by-repos service-account: 'social-connect@devopsre.iam.gserviceaccount.com'