Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only trigger tag workflows on their major tag number #181

Open
16 tasks
ianlewis opened this issue May 2, 2023 · 0 comments
Open
16 tasks

Only trigger tag workflows on their major tag number #181

ianlewis opened this issue May 2, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ianlewis
Copy link
Member

ianlewis commented May 2, 2023

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 ianlewis added the enhancement New feature or request label Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant