Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Pilot Lvl 1
Message 1 of 3

Job condition not fulfilled and workflow is stuck

Basically it looks like it works, when I'm pushing a new branch named `pr-*` the job is not executing as it should, but the workflow stays at:

 

image.png

 

Link to check:

https://github.com/dawidd6/homebrew-test/commit/955387dec03e8509c19cfba087ae49a26393c19c/checks

 

Workflow YAML:

name: On branch created

on: create

jobs:
  main:
    runs-on: ubuntu-latest
    if: startsWith(github.event.ref, 'pr-') == false && github.event.ref_type == 'branch'
    steps:
      - name: Create PR
        uses: dawidd6/action-create-pull-request@v1.0.1
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          head_branch: ${{ github.event.ref }}

Expected behaviour would be to not run the workflow at all or at least exit successfully or appear as cancelled.

2 Replies
GitHub Staff
Message 2 of 3

Re: Job condition not fulfilled and workflow is stuck

Sorry for the inconvenience.  I think that your workflow ran when we were having a minor service interruption.  This should be resolved now and I think that you shouldn't be seeing this problem with your workflow anymore.

Pilot Lvl 1
Message 3 of 3

Re: Job condition not fulfilled and workflow is stuck

Thanks for quick response, but it does not seem to be resolved unfortunately:

 

https://github.com/dawidd6/homebrew-test/commit/9f7c7e6ff04fc2d8d00beabde0d8887f0de8ef97/checks