Skip to content

Nightly: Add job-level permissions to style#822

Merged
saimanikant merged 2 commits into
mainfrom
maint/nightly
Jun 12, 2026
Merged

Nightly: Add job-level permissions to style#822
saimanikant merged 2 commits into
mainfrom
maint/nightly

Conversation

@saimanikant

Copy link
Copy Markdown
Collaborator

Description

Nightly is failing due to recent changes:
https://github.com/ansys/pyhps/actions/runs/27321144681

nightly.yml has top-level permissions: {}, which means every job starts with contents: none.
Your reusable workflow style.yml contains jobs style and doc-style that require contents: read, so GitHub rejects the call unless the caller job grants it.

This PR fixes the issue:
https://github.com/ansys/pyhps/actions/runs/27355995606

Checklist

  • I have tested these changes locally.
  • I have added unit tests (if appropriate).
  • I have added necessary documentation or updated existing documentation.
  • I have linked the issue(s) addressed by this PR if any.

@codecov

codecov Bot commented Jun 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.11%. Comparing base (202a1d6) to head (4e49f8f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #822   +/-   ##
=======================================
  Coverage   86.11%   86.11%           
=======================================
  Files          71       71           
  Lines        3263     3263           
=======================================
  Hits         2810     2810           
  Misses        453      453           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions github-actions Bot added the maintenance Package and maintenance related label Jun 11, 2026
@saimanikant saimanikant enabled auto-merge (squash) June 11, 2026 15:09

@FedericoNegri FedericoNegri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thanks

@saimanikant saimanikant merged commit f78350b into main Jun 12, 2026
56 of 57 checks passed
@saimanikant saimanikant deleted the maint/nightly branch June 12, 2026 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Package and maintenance related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants