Skip to content

Tag pushes do not trigger the major-tag workflow #7

Description

@Project516

release.yml ("Move major tag") is supposed to run on push of a v* tag and repoint v1 at the newest stable release in the series. It has never run: gh api repos/Project516/setup-flutter/actions/workflows/release.yml/runs returns total_count: 0.

Observed today while cutting v1.0.2:

  • git push origin v1.0.2 created the tag (the ref exists via the API) and produced no workflow run.
  • A follow-up git push --force origin refs/tags/v1 also produced no run.
  • Pushes to main in the same session did trigger verify, so Actions is enabled and working in this repo.
  • Repo Actions permissions are enabled: true, allowed_actions: all.

v1 was moved by hand to 0bb915d so consumers of Project516/setup-flutter@v1 get the lockfile cache-key fix from #6. The automation is still broken, so the next release will strand v1 again.

Worth checking:

  • Whether the tag ref that triggers the run needs the workflow file present at that ref (it is: the tag's commit contains release.yml).
  • Whether the push credential matters here, and whether pushing the tag from the Actions side (a release-publish trigger instead of a tag-push trigger) is the more reliable shape. on: release: [published] would fire from the release step that already happens, rather than from a bare tag push.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions