Skip to content

feat(allure): add GitHub Actions run URL to env#3486

Merged
mkoura merged 1 commit into
masterfrom
add_gha_url_to_metadata
May 28, 2026
Merged

feat(allure): add GitHub Actions run URL to env#3486
mkoura merged 1 commit into
masterfrom
add_gha_url_to_metadata

Conversation

@mkoura
Copy link
Copy Markdown
Collaborator

@mkoura mkoura commented May 28, 2026

Expose the current GHA workflow run URL in the Allure environment panel so failing reports link straight back to the CI run.

Expose the current GHA workflow run URL in the Allure environment
panel so failing reports link straight back to the CI run.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new pytest metadata entry exposing the GitHub Actions workflow run URL so Allure reports link back to the CI run.

Changes:

  • Read GITHUB_SERVER_URL, GITHUB_REPOSITORY, and GITHUB_RUN_ID in pytest_configure.
  • Set github actions url in the pytest metadata stash (empty string when not running under GHA).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mkoura mkoura merged commit 2b797de into master May 28, 2026
6 checks passed
@mkoura mkoura deleted the add_gha_url_to_metadata branch May 28, 2026 14:27
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.

2 participants