Skip to content

chore: migrate workflows to reusable actions repo patterns#345

Draft
tripura-repalle wants to merge 1 commit into
mainfrom
feat-call-reusable-actions-repo-workflows
Draft

chore: migrate workflows to reusable actions repo patterns#345
tripura-repalle wants to merge 1 commit into
mainfrom
feat-call-reusable-actions-repo-workflows

Conversation

@tripura-repalle

@tripura-repalle tripura-repalle commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Replaces all inline workflow definitions with wrappers that delegate to reusable workflows in blinklabs-io/actions.

Changes

  • conventional-commits.ymlreuseable-conventional-commits.yml@main
  • go-test.ymlreuseable-go-test.yml@main
  • golangci-lint.ymlreuseable-golangci-lint.yml@main (go-version: 1.26.x)
  • nilaway.ymlreuseable-nilaway.yml@main (include-pkgs: github.com/blinklabs-io/txtop, go-version: 1.26.x)
  • ci-docker.ymlreuseable-ci-docker.yml@main (image-name: blinklabs-io/txtop)
  • publish.ymlreuseable-publish.yml@main (binary-name: txtop, docker-image: blinklabs/txtop, go-version: 1.26.x)
  • test-issue-on-close.ymlreuseable-test-issue-on-close.yml@main
  • update-issue-on-close.ymlreuseable-set-project-closed-date.yml@main

Testing

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/actions to standardize CI and reduce maintenance. This removes duplicated YAML and aligns triggers, tooling, and permissions across the repo.

  • Refactors
    • Replaced 8 inline workflows with reusable ones: conventional commits, tests, lint, nilaway, Docker CI, publish, and two issue-close automations.
    • Passed required inputs where needed:
      • 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/txtop
      • publish: binary-name: txtop, docker-image: blinklabs/txtop, description set, go-version: "1.26.x"
      • Issue workflows: project URL, closed date field, and ORG_PROJECT_PAT secret configured

Written for commit 8627ff8. Summary will update on new commits.

Review in cubic

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
@coderabbitai

coderabbitai Bot commented Jun 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 57c554df-2a5b-473f-b65b-5362c9ea73d2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat-call-reusable-actions-repo-workflows

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

2 participants