GitHub Runner Scaler does not trigger execution if workflow has a sleep statement and waits for the previous execution to complete #5604
-
We have the following GitHub workflow: name: GitHub Actions Demo
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on: [push]
jobs:
Explore-GitHub-Actions:
runs-on: self-hosted
steps:
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Wait for 60 seconds
run: sleep 60
- name: Check out repository code
uses: actions/checkout@v3
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}." We have a scaled job that gets triggered in the subsequent polling interval when we the workflow is queued. Though, if we add another workflow when the previous execution on step - To isolate the issue, we also created a scaled job with trigger type as Is this behavior very specific to GitHub runners and could it be addressed with settings for the scaled job. Our scaling strategy is default, with min-max executions as 0-10. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@Eldarrin wdyt? |
Beta Was this translation helpful? Give feedback.
@Eldarrin wdyt?