Skip to content

Not working when multiple workflows are triggered by a commit #26

@zolex

Description

@zolex

When you have have multiple workflows that can be triggered by the same commit, the checks-action only adds the checks to the first executed workflow.

here is the debug output of the first exectued workflow, that was able to add the run-check in it's summary:

Run LouisBrunner/[email protected]
  with:
    token: ***
    repo: modix/base
    sha: f396e2c2c4e53761830f906bcaf4bef2e56c08a0
    name: Build Image
    status: completed
    conclusion: success
    output: {
    "summary": "Build status: success",
    "text_description": "Image pushed to [***.dkr.ecr.eu-central-1.amazonaws.com/modix/base/php:8-cli](https://eu-central-1.console.aws.amazon.com/ecr/repositories/private/***/modix/base/php)"
  }
##[debug]Parsing inputs
##[debug]Setting up OctoKit
##[debug]Creating a new Run on modix/base@f396e2c2c4e53761830f906bcaf4bef2e56c08a0
::set-output name=check_id::3597153344
##[debug]='3597153344'
##[debug]Done

the summary then looks like this:

image

and here is the debug output another workflow run that is triggered by the same commit but runs after the first workflow (same result for all but the first)

Run LouisBrunner/[email protected]
  with:
    token: ***
    repo: modix/base
    sha: f396e2c2c4e53761830f906bcaf4bef2e56c08a0
    name: Build Image
    status: completed
    conclusion: success
    output: {
    "summary": "Build status: success",
    "text_description": "Image pushed to [***.dkr.ecr.eu-central-1.amazonaws.com/modix/base/node:16](https://eu-central-1.console.aws.amazon.com/ecr/repositories/private/***/modix/base/node)"
  }
##[debug]Parsing inputs
##[debug]Setting up
 OctoKit
##[debug]Creating a new Run on modix/base@f396e2c2c4e53761830f906bcaf4bef2e56c08a0
::set-output name=check_id::3597139023
##[debug]='3597139023'
##[debug]Done

in this workflow the run-checks are not displayed/not added to the run, though the debug output says everything was working fine....

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdependenciesPull requests that update a dependency filewontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions