{"id":15645441,"url":"https://github.com/ahmadnassri/action-workflow-queue","last_synced_at":"2025-04-14T10:21:05.170Z","repository":{"id":37835137,"uuid":"338114266","full_name":"ahmadnassri/action-workflow-queue","owner":"ahmadnassri","description":"if the same workflow is already running from a previous commit, wait for it to finish","archived":false,"fork":false,"pushed_at":"2024-03-28T17:29:37.000Z","size":57,"stargazers_count":54,"open_issues_count":5,"forks_count":20,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-05-02T05:33:57.818Z","etag":null,"topics":["action","github","workflow-run"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ahmadnassri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["ahmadnassri"]}},"created_at":"2021-02-11T18:21:40.000Z","updated_at":"2024-06-18T16:50:32.255Z","dependencies_parsed_at":"2023-11-30T20:25:04.484Z","dependency_job_id":"ed321790-ebfb-4049-b2f2-dd78b37a9a29","html_url":"https://github.com/ahmadnassri/action-workflow-queue","commit_stats":{"total_commits":20,"total_committers":1,"mean_commits":20.0,"dds":0.0,"last_synced_commit":"7c50b6ec3d7706365e5850d656190825ef195845"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadnassri%2Faction-workflow-queue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadnassri%2Faction-workflow-queue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadnassri%2Faction-workflow-queue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadnassri%2Faction-workflow-queue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmadnassri","download_url":"https://codeload.github.com/ahmadnassri/action-workflow-queue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248860005,"owners_count":21173343,"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":["action","github","workflow-run"],"created_at":"2024-10-03T12:07:34.104Z","updated_at":"2025-04-14T10:21:05.123Z","avatar_url":"https://github.com/ahmadnassri.png","language":"JavaScript","readme":"# GitHub Action: Workflow Run Queue\n\nIf the same workflow is already running from a previous commit, wait for it to finish\n\n[![license][license-img]][license-url]\n[![release][release-img]][release-url]\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cstrong\u003eWhy?\u003c/strong\u003e\u003c/summary\u003e\n\nWorkflows run on every commit asynchronously, this is fine for most cases, however, you might want to wait for a previous commit workflow to finish before running another one, some example use-cases:\n\n- Deployment workflows\n- Terraform workflows\n- Database Migrations\n\n\u003c/details\u003e\n\n## Usage\n\n###### `.github/workflows/my-workflow.yml`\n\n``` yaml\njobs:\n  xyz:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: ahmadnassri/action-workflow-queue@v1\n\n      # only runs additional steps if there is no other instance of `my-workflow.yml` currently running\n```\n\n### Inputs\n\n| input          | required | default        | description                                     |\n|----------------|----------|----------------|-------------------------------------------------|\n| `github-token` | ❌       | `github.token` | The GitHub token used to call the GitHub API    |\n| `timeout`      | ❌       | `600000`       | timeout before we stop trying (in milliseconds) |\n| `delay`        | ❌       | `10000`        | delay between status checks (in milliseconds)   |\n\n----\n\u003e Author: [Ahmad Nassri](https://www.ahmadnassri.com/) \u0026bull;\n\u003e Twitter: [@AhmadNassri](https://twitter.com/AhmadNassri)\n\n[license-url]: LICENSE\n[license-img]: https://badgen.net/github/license/ahmadnassri/action-workflow-queue\n\n[release-url]: https://github.com/ahmadnassri/action-workflow-queue/releases\n[release-img]: https://badgen.net/github/release/ahmadnassri/action-workflow-queue\n","funding_links":["https://github.com/sponsors/ahmadnassri"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmadnassri%2Faction-workflow-queue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmadnassri%2Faction-workflow-queue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmadnassri%2Faction-workflow-queue/lists"}