Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Fix - Allow For Reruns of A Workflow #128

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

j-puri
Copy link

@j-puri j-puri commented Feb 16, 2023

Description - Bug Fix

Currently, rerunning a workflow using this action results in the following error from the Allure servers:

Cannot upload results to a closed launch

This can be resolved by making the ALLURE_JOB_UID unique by appending the run_attempt of the workflow:

  core.exportVariable(
    'ALLURE_JOB_UID',
    `${owner}/${repo}/actions/workflows/${data.data.workflow_id}/${data.data.run_attempt}`
  )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant