peter-evans / create-or-update-comment

A GitHub action to create or update an issue or pull request comment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Action running without progress

timmeinerzhagen opened this issue · comments

Yesterday, the action started as usual but never finished. After about an hour I canceled it because I was very confused. See the image below.

image

After running the exact same workflow again a little later, it worked without any issue. This could be related to the GitHub Actions outage yesterday (see GitHub status entry), but the action actually ran a few hourse before the reported starting date for the incident. Not sure what else could have caused this.

Here is the workflow I'm using:

on:
  issues:
    types:
      - assigned

jobs:
  ## Before deploy let user now it is running ##
  issue-comment-confirm:
    name: Comment Start
    if: contains(github.event.issue.assignee.login, 'timmeinerzhagen')

    runs-on: ubuntu-latest

    steps:
      - name: Create comment
        uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae # v1.4.5
        with:
          token: ${{ secrets.GH_TOKEN }}
          issue-number: ${{ github.event.issue.number }}
          body: |
            <message>

Hi @timmeinerzhagen

This kind of thing does happen occasionally when GitHub's infrastructure has some problems or downtime. There is nothing I can do about it, unfortunately. No part of the code waits at any point, so the fact that execution hung for an hour means that it probably never even started to execute on the runner.

If it wasted a lot of minutes that you've paid for then I recommend reaching out to GitHub Support, referencing the Actions incident.