Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

all github action jobs are queued and never running

Updated:

2-3 days later, my job is failed automatically with the following error message.

enter image description here


faced a challenge where all of my GitHub Action jobs remained stuck in a queued state and failed to execute.

To troubleshoot, I diligently monitored the status of GitHub Actions on githubstatus.com but there were no indications of system downtime or any known issues.

During my extensive search for a solution, I came across a discussion thread addressing a similar problem link.

However, the issue seems to be older and rather perplexing, especially considering that GitHub Actions are functioning correctly on other repositories.

Here is the YAML configuration that I used:

jobs:
  never-running-job:
    runs-on: node:16.13-alpine3.14
    steps:
      - uses: actions/checkout@v2
      - name: Use Node.js
        uses: actions/setup-node@v1
        with:
          node-version: '14.x'
      - name: preinstall
        run: yarn install
      - name: build app
        run: yarn run build
      - name: test app
        run: yarn run test

enter image description here enter image description here

like image 531
cyan-kinesin Avatar asked Sep 13 '25 18:09

cyan-kinesin


2 Answers

Updated

Following the incident with GitHub Actions on February 5, it appears that, even at present, it is not functioning properly with various images other than 'ubuntu'.

To address this issue, I made the necessary modification by updating the 'runs-on' tag to 'ubuntu-latest', committed the changes, and pushed them. Consequently, GitHub successfully detected and executed my CI/CD jobs.

Initially, I had been using the node alpine image.


old answers

I discovered incidents listed on the GitHub page that align with the error I encountered. It is possible that these incidents are influencing the prolonged queued status.

enter image description here

like image 165
cyan-kinesin Avatar answered Sep 15 '25 07:09

cyan-kinesin


I think I had a typo... But basically I changed this line

runs-on: ubuntu-latest      -

to

runs-on: ${{ fromJSON('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }}

And now it works.

like image 31
Chris Stryczynski Avatar answered Sep 15 '25 08:09

Chris Stryczynski