chore: migrate workflows to reusable actions repo patterns#345
Draft
tripura-repalle wants to merge 1 commit into
Draft
chore: migrate workflows to reusable actions repo patterns#345tripura-repalle wants to merge 1 commit into
tripura-repalle wants to merge 1 commit into
Conversation
Replace all inline GitHub Actions workflows with wrappers that call reusable workflows from blinklabs-io/actions: - conventional-commits.yml: calls reuseable-conventional-commits.yml@main - go-test.yml: calls reuseable-go-test.yml@main (default go 1.25.x) - golangci-lint.yml: calls reuseable-golangci-lint.yml@main (go-version: 1.26.x) - nilaway.yml: calls reuseable-nilaway.yml@main (include-pkgs: github.com/blinklabs-io/txtop, go-version: 1.26.x) - ci-docker.yml: calls reuseable-ci-docker.yml@main (image-name: blinklabs-io/txtop, paths: Dockerfile *.go go.* ci-docker.yml) - publish.yml: calls reuseable-publish.yml@main (binary-name: txtop, docker-image: blinklabs/txtop, go-version: 1.26.x) - test-issue-on-close.yml: calls reuseable-test-issue-on-close.yml@main - update-issue-on-close.yml: calls reuseable-set-project-closed-date.yml@main Signed-off-by: Tripura Repalle <tripura@blinklabs.io>
Comment on lines
+16
to
+18
| uses: blinklabs-io/actions/.github/workflows/reuseable-ci-docker.yml@main | ||
| with: | ||
| image-name: blinklabs-io/txtop |
| persist-credentials: false | ||
| - uses: webiny/action-conventional-commits@7f91b1595ca1951cdb671ddc9f07a49081ec5b69 # v1.4.2 https://github.com/webiny/action-conventional-commits/releases/tag/v1.4.2 | ||
| orchestrate: | ||
| uses: blinklabs-io/actions/.github/workflows/reuseable-conventional-commits.yml@main |
| - name: go-test | ||
| run: go test ./... | ||
| orchestrate: | ||
| uses: blinklabs-io/actions/.github/workflows/reuseable-go-test.yml@main |
Comment on lines
+14
to
+16
| uses: blinklabs-io/actions/.github/workflows/reuseable-golangci-lint.yml@main | ||
| with: | ||
| go-version: "1.26.x" |
Comment on lines
+14
to
+17
| uses: blinklabs-io/actions/.github/workflows/reuseable-nilaway.yml@main | ||
| with: | ||
| include-pkgs: github.com/blinklabs-io/txtop | ||
| go-version: "1.26.x" |
Comment on lines
+11
to
+14
| orchestrate: | ||
| uses: blinklabs-io/actions/.github/workflows/reuseable-test-issue-on-close.yml@main | ||
| with: | ||
| issue_number: ${{ github.event.issue.number }} |
Comment on lines
+12
to
+18
| orchestrate: | ||
| uses: blinklabs-io/actions/.github/workflows/reuseable-set-project-closed-date.yml@main | ||
| secrets: | ||
| project_pat: ${{ secrets.ORG_PROJECT_PAT }} | ||
| with: | ||
| closed_at: ${{ github.event.issue.closed_at }} | ||
| closed_date_field: Closed Date |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces all inline workflow definitions with wrappers that delegate to reusable workflows in
blinklabs-io/actions.Changes
conventional-commits.yml→reuseable-conventional-commits.yml@maingo-test.yml→reuseable-go-test.yml@maingolangci-lint.yml→reuseable-golangci-lint.yml@main(go-version: 1.26.x)nilaway.yml→reuseable-nilaway.yml@main(include-pkgs: github.com/blinklabs-io/txtop, go-version: 1.26.x)ci-docker.yml→reuseable-ci-docker.yml@main(image-name: blinklabs-io/txtop)publish.yml→reuseable-publish.yml@main(binary-name: txtop, docker-image: blinklabs/txtop, go-version: 1.26.x)test-issue-on-close.yml→reuseable-test-issue-on-close.yml@mainupdate-issue-on-close.yml→reuseable-set-project-closed-date.yml@mainTesting
Draft PR to verify all CI checks pass before governance sync is enabled.
Summary by cubic
Migrated all GitHub Actions workflows to reusable workflows in
blinklabs-io/actionsto standardize CI and reduce maintenance. This removes duplicated YAML and aligns triggers, tooling, and permissions across the repo.golangci-lint:go-version: "1.26.x"nilaway:include-pkgs: github.com/blinklabs-io/txtop,go-version: "1.26.x"ci-docker:image-name: blinklabs-io/txtoppublish:binary-name: txtop,docker-image: blinklabs/txtop,descriptionset,go-version: "1.26.x"ORG_PROJECT_PATsecret configuredWritten for commit 8627ff8. Summary will update on new commits.