example-package icon indicating copy to clipboard operation
example-package copied to clipboard

Only trigger tag workflows on their major tag number

Open ianlewis opened this issue 2 years ago • 0 comments

Most tag workflows are triggered on all semver tags and quickly terminate because the tags major version does not match the version set in DEFAULT_VERSION.

We can update the workflow's trigger to only trigger on tags that match the major version of DEFAULT_VERSION. However, this also means that we have to make sure that the workflow trigger and DEFAULT_VERSION are in sync.

  • [ ] .github/workflows/e2e.container-based.tag.main.default.slsa3.yml
  • [ ] .github/workflows/e2e.container.tag.branch1.default.slsa3.yml
  • [ ] .github/workflows/e2e.container.tag.main.default.slsa3.yml
  • [ ] .github/workflows/e2e.container.tag.main.gcp-workload-identity.slsa3.yml
  • [ ] .github/workflows/e2e.container.tag.main.registry-username-secret.yml
  • [ ] .github/workflows/e2e.generic.tag.branch1.default.slsa3.yml
  • [ ] .github/workflows/e2e.generic.tag.main.annotated.slsa3.yml
  • [ ] .github/workflows/e2e.generic.tag.main.assets.slsa3.yml
  • [ ] .github/workflows/e2e.generic.tag.main.goreleaser-assets-multi-subjects.slsa3.yml
  • [ ] .github/workflows/e2e.go.tag.branch1.config-ldflags-assets.slsa3.yml
  • [ ] .github/workflows/e2e.go.tag.main.adversarial-asset-binary.slsa3.yml
  • [ ] .github/workflows/e2e.go.tag.main.adversarial-asset-provenance.slsa3.yml
  • [ ] .github/workflows/e2e.go.tag.main.config-ldflags-assets-prerelease-tag.slsa3.yml
  • [ ] .github/workflows/e2e.go.tag.main.config-ldflags-assets.slsa3.yml
  • [ ] .github/workflows/e2e.go.tag.main.config-ldflags-assets-tag.slsa3.yml
  • [ ] .github/workflows/e2e.go.tag.main.config-ldflags-noassets.slsa3.yml

ianlewis avatar May 02 '23 06:05 ianlewis