Skip to content

feat(check-for-non-releasable-actions): find reusable workflows too#608

Draft
iainlane wants to merge 1 commit intomainfrom
iainlane/find-missing-reusable-workflows
Draft

feat(check-for-non-releasable-actions): find reusable workflows too#608
iainlane wants to merge 1 commit intomainfrom
iainlane/find-missing-reusable-workflows

Conversation

@iainlane
Copy link
Contributor

@iainlane iainlane commented Dec 2, 2024

We need to release reusable workflows just like we do for Actions. The current linter didn't check for that, so it's added here. This required an extra library to parse the YAML, and GitHub scripts can't install new dependencies, so it's broken out to a small internal/ composite action which can.

Now we have two Typescript actions, it made sense to centralise some of the setup. We have a shared eslint config now, and bun workspaces for each of the modules so they can cross-reference.

@iainlane iainlane force-pushed the iainlane/find-missing-reusable-workflows branch 7 times, most recently from 63ee73c to 6251c8c Compare December 2, 2024 19:27
We need to release reusable workflows just like we do for Actions. The
current linter didn't check for that, so it's added here. This required
an extra library to parse the YAML, and GitHub scripts can't install new
dependencies, so it's broken out to a small `internal/` composite action
which can.

Now we have two Typescript actions, it made sense to centralise some of
the setup. We have a shared `eslint` config now, and `bun` workspaces
for each of the modules so they can cross-reference.
@iainlane iainlane force-pushed the iainlane/find-missing-reusable-workflows branch from 6251c8c to c7f4ffd Compare December 2, 2024 19:28
@iainlane
Copy link
Contributor Author

iainlane commented Dec 2, 2024

To be able to finish this PR, I need to figure out how to get release-please to release a reusable workflow. The problem is it wants to handle a directory (create a changelog for example, and update it when there are any changes in there) but these are just single files in .github/workflows.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant