Skip to content

chore: replace inline workflows with reusable workflow wrappers - #602

Draft
tripura-repalle wants to merge 2 commits into
mainfrom
feat-use-actions-reuseable-workflows
Draft

chore: replace inline workflows with reusable workflow wrappers#602
tripura-repalle wants to merge 2 commits into
mainfrom
feat-use-actions-reuseable-workflows

Conversation

@tripura-repalle

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

Copy link
Copy Markdown
Contributor

Summary

Replaces all 8 inline workflow definitions with thin wrappers calling centrally governed reusable workflows from blinklabs-io/actions.

Workflow mapping

File Reusable called Key params
conventional-commits.yml reuseable-conventional-commits.yml@main
go-test.yml reuseable-go-test.yml@main default matrix [1.25.x, 1.26.x]
golangci-lint.yml reuseable-golangci-lint.yml@main default go 1.25.x
nilaway.yml reuseable-nilaway.yml@main include-pkgs: github.com/blinklabs-io/cardano-node-api
ci-docker.yml reuseable-ci-docker.yml@main image-name: blinklabs-io/cardano-node-api
publish.yml reuseable-publish.yml@main binary-name: cardano-node-api, docker-image: blinklabs/cardano-node-api
test-issue-on-close.yml reuseable-test-issue-on-close.yml@main
update-issue-on-close.yml reuseable-set-project-closed-date.yml@main project 11

Summary by cubic

Replaced eight inline GitHub Actions with thin wrappers that call reusable workflows from blinklabs-io/actions. This centralizes CI/CD and reduces maintenance with no behavior change; also fixes Docker CI to trigger on Makefile and openapi/** changes.

  • Refactors
    • Migrated: conventional-commits, go-test, golangci-lint, nilaway, Docker CI, publish, and two issue-close workflows.
    • Key params: go-test matrix [1.25.x, 1.26.x]; golangci-lint Go 1.25.x; nilaway include-pkgs github.com/blinklabs-io/cardano-node-api; Docker CI image blinklabs-io/cardano-node-api and path triggers include Makefile and openapi/**; publish binary cardano-node-api, docker image blinklabs/cardano-node-api, description set; project closed-date uses project 11.
    • Notes: added “Generated automatically by org-governance-bot” headers; required secrets unchanged (DOCKER_PASSWORD, ORG_PROJECT_PAT).

Written for commit e501c1e. Summary will update on new commits.

Review in cubic

Signed-off-by: Tripura Repalle <tripura@blinklabs.io>
@coderabbitai

coderabbitai Bot commented Jun 26, 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: dd72691c-078c-4671-a588-60734a9ccd0f

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-use-actions-reuseable-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.

Comment on lines +18 to +20
uses: blinklabs-io/actions/.github/workflows/reuseable-ci-docker.yml@main
with:
image-name: blinklabs-io/cardano-node-api
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 https://github.com/actions/checkout/releases/tag/v6.0.3
- 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
- name: golangci-lint
uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9.2.1 https://github.com/golangci/golangci-lint-action/releases/tag/v9.2.1
orchestrate:
uses: blinklabs-io/actions/.github/workflows/reuseable-golangci-lint.yml@main
Comment on lines +14 to +16
uses: blinklabs-io/actions/.github/workflows/reuseable-nilaway.yml@main
with:
include-pkgs: github.com/blinklabs-io/cardano-node-api
Comment on lines +11 to +14
uses: blinklabs-io/actions/.github/workflows/reuseable-test-issue-on-close.yml@main
with:
issue_number: ${{ github.event.issue.number }}
issue_title: ${{ github.event.issue.title }}
Comment on lines +11 to +17
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
Dockerfile uses COPY . . and make build — changes to Makefile or
openapi/** affect the image build output. Add both to the path filter
so Docker CI is triggered on relevant changes.

Signed-off-by: Tripura Repalle <tripura@blinklabs.io>
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