{"repo":"softprops/turnstyle","free":true,"listed":false,"github":"https://github.com/softprops/turnstyle","clone":"git clone https://github.com/softprops/turnstyle.git","description":"🎟️A GitHub Action for serializing workflow runs","language":"TypeScript","stars":380,"topics":["github-actions"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"🎟️ turnstyle A GitHub Action for serializing workflow runs 🤔 why bother GitHub Actions is an event-oriented system. Your workflows run in response to events and are triggered independently and without coordination. In a shared repository, if two or more people merge pull requests, each will trigger workflows without regard to one another. This can be problematic for workflows used as part of a continuous deployment process. You might want to let an in-flight deployment complete before progressing further with the next workflow. This is the usecase turnstyle action targets. 🤸 Usage The typical setup for turnstyle involves adding job step using softprops/turnstyle@v3 . The examples below use the moving v3 major-version tag. If you need a change that has merged to master but has not been released yet, pin the merged commit SHA until the next v3 release is published. Timing out To avoid waiting prolonged periods of time, you may wish to bail on a run or continuing a workflow run regardless of the status of the previous run. The continue-after-seconds and abort-after-seconds limits measure total elapsed waiting time. The deadline starts after inputs are parsed and before the first Actions API read, then covers workflow and run discovery, job and step inspection, configured API retry backoffs, the initial wait, and polling sleeps. A deadline cancels a queued retry wait through the same request signal. You can bail from a run using the built-in GitHub Actions jobs. .timeout-minut","default_branch":null,"files":null,"tree":[],"storefront":"/r/softprops","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/softprops/turnstyle/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}