Tangleflow: Converts GitHub Actions workflows to tangled workflows and back

wertyk1 pts0 comments

GitHub - 43081j/tangleflow: Convert GitHub actions workflows to tangled pipelines and vice versa. 路 GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

43081j

tangleflow

Public

Uh oh!

There was an error while loading. Please reload this page.

Notifications<br>You must be signed in to change notification settings

Fork

Star<br>11

main

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>29 Commits<br>29 Commits

.github

.github

scripts

scripts

src

src

test/fixtures

test/fixtures

.editorconfig

.editorconfig

.gitignore

.gitignore

.oxfmtrc.json

.oxfmtrc.json

.oxlintrc.json

.oxlintrc.json

LICENSE

LICENSE

README.md

README.md

package-lock.json

package-lock.json

package.json

package.json

tsconfig.json

tsconfig.json

vitest.config.ts

vitest.config.ts

View all files

Repository files navigation

馃 tangleflow

Converts GitHub Actions workflows into<br>tangled workflows and vice versa.

Use it as a command-line tool to convert the workflow files in a repository, or<br>as a library to convert parsed workflow objects in your own code.

Usage

[file...]">npx tangleflow --target=tangled|gh> [file...]

Option<br>Description

--target=tangled<br>Convert GitHub Actions workflows to tangled

--target=gh, --target=github<br>Convert tangled workflows to GitHub Actions

If no files are given, every workflow in the source directory is converted:

--target=tangled reads .github/workflows/*.{yml,yaml} and writes to<br>.tangled/workflows/

--target=gh reads .tangled/workflows/*.{yml,yaml} and writes to<br>.github/workflows/

When converting to tangled, each independent job becomes its own<br>.tangled/workflows/.yml file. Jobs linked by needs collapse into a<br>single workflow whose steps run in dependency order.

Install (as a library)

npm install tangleflow

API

convertWorkflowToTangled(workflow)

Converts a parsed GitHub Actions workflow object into a tangled Pipeline (an<br>array of workflows, one per GitHub job).

convertWorkflowToGitHub(workflow, path)

Converts a parsed tangled workflow object into a GitHub Actions workflow object.

License

MIT

About

Convert GitHub actions workflows to tangled pipelines and vice versa.

Resources

Readme

License

MIT license

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

11<br>stars

Watchers

watching

Forks

forks

Report repository

Releases

0.6.0

Latest

Jul 21, 2026

+ 3 releases

Sponsor this project

Sponsor

Uh oh!

There was an error while loading. Please reload this page.

Learn more about GitHub Sponsors

Packages

Uh oh!

There was an error while loading. Please reload this page.

Contributors

Uh oh!

There was an error while loading. Please reload this page.

Languages

TypeScript<br>96.7%

JavaScript<br>3.3%

You can鈥檛 perform that action at this time.

github tangled workflows json actions workflow

Related Articles