Versioning/Tagging the workflow repository

Hello,

GitHub actions was recently added to the SwiftPM repository, where I primarily contribute. I noticed that the workflows defined in the SwiftPM repo use GitHub - swiftlang/github-workflows repository at branch main.

Though it's great seeing all the workflows in a common location, I worry that changes to the worflows repository may impact SwiftPM. My preferences is to pin the SwiftPM workflows is references to a specific version, and then change the version once we want to update the workflows.

This has a few benefits.

  • Workflows are more repeatable given a SwiftPM comment. We know exactly what steps were performed.
  • Update the workflows version goes though the PR validation process, so we know whether we want to apply a change to the entire repository.

Have there been thoughts given to tagging the `github-workfokws repository to allow this?

Looking forward to hearing back,

Sam

2 Likes

We were waiting to tag the repository while we were working on the initial work, but now it’s time to do so.

It's tagged with 0.0.1.

4 Likes