{"id":21850667,"url":"https://github.com/stephenmp/workflow-toggle","last_synced_at":"2026-04-13T08:31:10.472Z","repository":{"id":42962096,"uuid":"470683512","full_name":"StephenMP/workflow-toggle","owner":"StephenMP","description":"GitHub Action to Enable/Disable GitHub Actions Workflows","archived":false,"fork":false,"pushed_at":"2023-05-15T17:40:19.000Z","size":1019,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-03-15T05:03:07.953Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StephenMP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-16T17:20:40.000Z","updated_at":"2022-05-24T07:39:18.000Z","dependencies_parsed_at":"2024-11-28T00:18:54.266Z","dependency_job_id":"cfd6496b-5ec0-496f-91d1-afe53ee79f8d","html_url":"https://github.com/StephenMP/workflow-toggle","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"1bcb534eb8adfd7c7dc8a26613fdb4c52ea1e770"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephenMP%2Fworkflow-toggle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephenMP%2Fworkflow-toggle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephenMP%2Fworkflow-toggle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephenMP%2Fworkflow-toggle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StephenMP","download_url":"https://codeload.github.com/StephenMP/workflow-toggle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244843226,"owners_count":20519779,"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","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":[],"created_at":"2024-11-28T00:18:45.758Z","updated_at":"2025-10-25T06:36:26.051Z","avatar_url":"https://github.com/StephenMP.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Toggle Workflow\n\nThis action allows you to enable/disable a GitHub Actions Workflow.\n\n| Build                                                                                                                                                                                     | Tests                                                                                                                                              |\n| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |\n| [![build-test](https://github.com/StephenMP/workflow-toggle/actions/workflows/test.yaml/badge.svg?branch=main)](https://github.com/StephenMP/workflow-toggle/actions/workflows/test.yaml) | [![Coverage Status](https://coveralls.io/repos/github/StephenMP/workflow-toggle/badge.svg)](https://coveralls.io/github/StephenMP/workflow-toggle) |\n\n## Documentation\n\n### Usage\n\n```yaml\n- name: Toggle Workflow\n  uses: StephenMP/workflow-toggle@v2\n  with:\n    token: ${{ secrets.YOUR_GITHUB_TOKEN }}\n    workflow_id: YourWorkflow.yaml\n    action: enable # Or disable\n    owner: YourOrgOrUser\n    repo: YourRepo\n```\n\n### Inputs\n\n| Input       | Required | Default                                        | Description                                                                    |\n| ----------- | -------- | ---------------------------------------------- | ------------------------------------------------------------------------------ |\n| token       | yes      |                                                | A GitHub access token with the \"workflow\" scope                                |\n| workflow_id | yes      |                                                | The workflow file name or the workflow ID                                      |\n| action      | yes      |                                                | Either \"enable\" or \"disable\" to enable/disable the workflow                    |\n| owner       | no       | The owner of the repository calling the action | The repo owner (defaults to owner of the running action)                       |\n| repo        | no       | The repository calling the action              | The repo with the workflow to disable (defaults to repo of the running action) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephenmp%2Fworkflow-toggle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephenmp%2Fworkflow-toggle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephenmp%2Fworkflow-toggle/lists"}