{"id":28281650,"url":"https://github.com/anna-money/workflow-tools","last_synced_at":"2025-08-30T10:39:42.379Z","repository":{"id":62589485,"uuid":"247946523","full_name":"anna-money/workflow-tools","owner":"anna-money","description":"CLI tools for GitHub Actions","archived":false,"fork":false,"pushed_at":"2024-06-04T10:40:11.000Z","size":116,"stargazers_count":26,"open_issues_count":1,"forks_count":2,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-08-26T12:37:22.136Z","etag":null,"topics":["ci-cd","cli","github-actions","github-secrets","github-workflows","python"],"latest_commit_sha":null,"homepage":"https://workflow-tools.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anna-money.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-17T10:56:29.000Z","updated_at":"2025-06-05T11:21:26.000Z","dependencies_parsed_at":"2023-01-31T01:45:47.533Z","dependency_job_id":null,"html_url":"https://github.com/anna-money/workflow-tools","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/anna-money/workflow-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anna-money%2Fworkflow-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anna-money%2Fworkflow-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anna-money%2Fworkflow-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anna-money%2Fworkflow-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anna-money","download_url":"https://codeload.github.com/anna-money/workflow-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anna-money%2Fworkflow-tools/sbom","scorecard":{"id":197484,"data":{"date":"2025-08-11","repo":{"name":"github.com/anna-money/workflow-tools","commit":"5934958a7a5ec300a76ac367243185c2d2f59bfb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Code-Review","score":1,"reason":"Found 1/9 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/master.yml:1","Warn: no topLevel permission defined: .github/workflows/pull_request.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/master.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/anna-money/workflow-tools/master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/master.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/anna-money/workflow-tools/master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/master.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/anna-money/workflow-tools/master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/master.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/anna-money/workflow-tools/master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/master.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/anna-money/workflow-tools/master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/master.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/anna-money/workflow-tools/master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/master.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/anna-money/workflow-tools/master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/master.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/anna-money/workflow-tools/master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/master.yml:84: update your workflow using https://app.stepsecurity.io/secureworkflow/anna-money/workflow-tools/master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/master.yml:86: update your workflow using https://app.stepsecurity.io/secureworkflow/anna-money/workflow-tools/master.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/master.yml:91: update your workflow using https://app.stepsecurity.io/secureworkflow/anna-money/workflow-tools/master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/anna-money/workflow-tools/pull_request.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/anna-money/workflow-tools/pull_request.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/anna-money/workflow-tools/pull_request.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/anna-money/workflow-tools/pull_request.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/anna-money/workflow-tools/pull_request.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/anna-money/workflow-tools/pull_request.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/anna-money/workflow-tools/pull_request.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/anna-money/workflow-tools/pull_request.yml/master?enable=pin","Info:   0 out of  18 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2013-22 / GHSA-27x4-j476-jp5f","Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: PYSEC-2022-43012 / GHSA-r9hx-vwmv-q579"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T22:05:41.694Z","repository_id":62589485,"created_at":"2025-08-16T22:05:41.694Z","updated_at":"2025-08-16T22:05:41.694Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272839657,"owners_count":25001861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ci-cd","cli","github-actions","github-secrets","github-workflows","python"],"created_at":"2025-05-21T12:13:23.008Z","updated_at":"2025-08-30T10:39:42.371Z","avatar_url":"https://github.com/anna-money.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"workflow-tools\n==============\n\n|Build| |Black| |License|\n\n.. raw:: html\n\n   \u003cimg align=\"right\" src=\"https://github.com/anna-money/workflow-tools/blob/master/docs/_static/workflow-tools-transparent-thumbnail.png\"\u003e\n\nCLI tools for GitHub Actions.\n\n- Automate writing GitHub workflow configs with a generator tool\n- Automate setting GitHub secrets for repositories\n- Integrate the tools into your pipeline for setting up new microservices\n\n\nRationale\n---------\n\nMicroservice architecture may have dozens and dozens of lookalikes services that require similar CI/CD workflows.\nWith infrastructure as code approach taken by the `GitHub Actions`_, why not using workflows generation?\nSetting up a new microservice repository may also be automated. This is where ``workflow-tools`` come in handy.\n\n\nExamples\n--------\n\nLet's set `GitHub Secrets`_ for a repository. First, get a `personal access token`_ in GitHub settings.\nThen set up a secret using ``workflow-tools``:\n\n.. code-block:: bash\n\n  workflow_secret --owner=anna-money --repo=workflow-tools \\\n    --token=\"YOUR-PERSONAL-ACCESS-TOKEN\" \\\n    update --key=MY_SECRET_KEY --value=MY_VALUE\n\nNow let's use a fragment of `Jinja2`_ template for a GitHub Actions workflow to generate resulting config:\n\n.. code-block:: bash\n\n  WORKFLOW_RUNNER_VERSION=ubuntu-latest WORKFLOW_PYTHON27=2.7 WORKFLOW_PYTHON37=3.7 \\\n  workflow_generator\n  # Press Enter to start pasting Jinja2 workflow template into stdin\n  jobs:\n    test:\n      runs-on: [[ workflow.runner_version ]]\n      strategy:\n        matrix:\n          python:\n            - [[ workflow.python27 ]]\n            - [[ workflow.python37 ]]\n  # Press Ctrl+D to render resulting workflow\n  # For real workflow templates use reading/writing from/to a file, load variables from envfile\n  jobs:\n    test:\n      runs-on: ubuntu-latest\n      strategy:\n        matrix:\n          python:\n            - 2.7\n            - 3.7\n\n\nHelp\n----\n\nSee `documentation`_ for more details. Use ``--help`` flag for each tool in the package.\n\n\nInstallation\n------------\n\nJust run:\n\n.. code-block:: bash\n\n  pip install -U workflow-tools\n\n\nContributing\n------------\n\nSee `CONTRIBUTING.rst`_.\n\n.. |Build| image:: https://github.com/anna-money/workflow-tools/workflows/master/badge.svg\n   :target: https://github.com/anna-money/workflow-tools/actions?query=workflow%3Amaster\n.. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg\n   :target: https://github.com/python/black\n   :alt: Black Formatter\n.. |License| image:: https://img.shields.io/github/license/anna-money/workflow-tools.svg\n   :alt: GitHub License\n\n.. _GitHub Actions: https://help.github.com/en/actions\n.. _GitHub Secrets: https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets\n.. _personal access token: https://github.com/settings/tokens\n.. _Jinja2: https://jinja.palletsprojects.com/\n.. _documentation: https://workflow-tools.readthedocs.io/\n.. _CONTRIBUTING.rst: https://github.com/anna-money/workflow-tools/tree/master/CONTRIBUTING.rst\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanna-money%2Fworkflow-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanna-money%2Fworkflow-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanna-money%2Fworkflow-tools/lists"}