【问题标题】:Github actions stuck on "Starting workflow run"Github 操作停留在“正在启动工作流运行”
【发布时间】:2021-09-10 08:53:42
【问题描述】:

一个月前,我为我的 Express.js RESTapi 项目设置了 GitHub 工作流。那些日子我工作得很好。但是现在当我今天尝试运行相同的内容时,它会卡在屏幕上

开始工作流运行

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: DEV BUILD

on:
  push:
    branches: [ dev ]
  pull_request:
    branches: [ dev ]

jobs:
  build:

    runs-on: self-hosted 

    strategy:
      matrix:
        node-version: [ 14.x,15.x]
        # See supported Node.js release schedule at https://nodejs.org/en/about/releases/

    steps:
    - uses: actions/checkout@v2
    - name: Use Node.js ${{ matrix.node-version }}
      uses: actions/setup-node@v2
      with:
        node-version: ${{ matrix.node-version }}
    - run: rm package-lock.json
    - run: npm i
    - run: pm2 restart app.js

这个文件有什么问题?有没有办法查看日志文件以便我知道出了什么问题?

任何帮助! 提前致谢。 =)

【问题讨论】:

    标签: continuous-integration yaml github-actions continuous-deployment


    【解决方案1】:

    正如在this issue 中看到的,这可能是一个间歇性问题,链接到recent (past week) incident

    我遇到了一个问题,即计划中的所有作业都卡在Queued : Starting workflow run

    我检查了 GitHub 状态,今天报告了一个事件,但标记为已解决。所有系统都有 :white_check_mark:

    我取消了卡住的作业并手动尝试针对功能分支重新运行作业 - 同样的事情。

    这在今天开始运行,无需任何代码更改(这些作业按 4 小时的时间表进行)。

    所以首先检查问题是否随着时间的推移仍然存在。

    the logs(您可以看到)可能只包含“开始工作流运行”。

    【讨论】:

      猜你喜欢
      • 2023-01-05
      • 2021-04-14
      • 2022-08-04
      • 2022-08-23
      • 2020-03-15
      • 2021-05-23
      • 2022-01-10
      • 2022-12-18
      • 2020-01-21
      相关资源
      最近更新 更多