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

test: Add workflow permissions for test report publishing #1712

Conversation

tinkerer-shubh
Copy link

Fix Test Report Publishing

Problem

GitHub Actions workflow failing to publish test reports due to missing permissions ("Resource not accessible by integration" error).

Solution

Added required workflow permissions:

  • checks: write for test reports
  • contents: read for code access

Fixes #1710

@tinkerer-shubh tinkerer-shubh requested a review from a team as a code owner February 13, 2025 22:04
@tinkerer-shubh tinkerer-shubh force-pushed the test/fix-workflow-permissions branch from 3f2d7ca to 0d0c4bb Compare February 13, 2025 22:06
@WadeBarnes
Copy link
Member

WadeBarnes commented Feb 14, 2025

@tinkerer-shubh, Thanks for the contribution. Please use the ubuntu-22.04 branch as the base and target for theses changes.

@tinkerer-shubh tinkerer-shubh changed the base branch from main to ubuntu-22.04 February 14, 2025 19:06
@tinkerer-shubh
Copy link
Author

tinkerer-shubh commented Feb 14, 2025

Thanks! I've updated the base and target to ubuntu-22.04

@WadeBarnes WadeBarnes force-pushed the test/fix-workflow-permissions branch from 0d0c4bb to 297c70a Compare February 18, 2025 17:55
@WadeBarnes
Copy link
Member

@tinkerer-shubh, Just an FYI, I rebased your changes on ubuntu-22.04 and removed all the extraneous commits so only your discrete changes remain.

@WadeBarnes WadeBarnes merged commit f7c5d5f into hyperledger:ubuntu-22.04 Feb 18, 2025
25 checks passed
@tinkerer-shubh tinkerer-shubh deleted the test/fix-workflow-permissions branch February 19, 2025 16:31
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.

Workflows are failing to publish test reports
2 participants