Skip to content

Expose repos as github resource in 3008.3+ - #33

Merged
lkubb merged 1 commit into
mainfrom
utils-refactor
Oct 14, 2026
Merged

lkubb merged 1 commit into
mainfrom
utils-refactor

Conversation

@lkubb

@lkubb lkubb commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

Adds a github resource connection module with overlay modules/state that allow targeting repositories as individual resources.

Merge requirements satisfied?

[NOTICE] Bug fixes or new features require tests.

Commits signed with GPG?

Yes

@codecov

codecov Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 86.57188% with 85 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.29%. Comparing base (1dfcc1f) to head (e8005d8).

Files with missing lines Patch % Lines
tests/functional/resources/conftest.py 18.00% 39 Missing and 2 partials ⚠️
src/saltext/github/utils/gh/profile.py 62.50% 28 Missing and 2 partials ⚠️
src/saltext/github/states/github_repo.py 87.50% 6 Missing ⚠️
src/saltext/github/utils/gh/statecores/repo.py 95.50% 2 Missing and 2 partials ⚠️
...saltext/github/utils/gh/statecores/environments.py 97.43% 2 Missing ⚠️
src/saltext/github/utils/gh/statecores/pages.py 96.66% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #33      +/-   ##
==========================================
- Coverage   98.11%   97.29%   -0.82%     
==========================================
  Files          97      106       +9     
  Lines        6941     7093     +152     
  Branches      494      513      +19     
==========================================
+ Hits         6810     6901      +91     
- Misses        101      156      +55     
- Partials       30       36       +6     
Flag Coverage Δ
Linux 97.29% <86.57%> (-0.82%) ⬇️
macOS 97.29% <86.57%> (-0.82%) ⬇️
project 97.00% <92.42%> (-0.63%) ⬇️
py310 90.20% <86.57%> (-0.67%) ⬇️
py311 90.20% <86.57%> (-0.67%) ⬇️
py314 97.26% <86.57%> (-0.83%) ⬇️
salt_3006_27 90.20% <86.57%> (-0.67%) ⬇️
salt_3008_2 97.26% <86.57%> (-0.83%) ⬇️
tests 97.44% <21.15%> (-0.92%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@lkubb
lkubb marked this pull request as ready for review October 14, 2026 02:49
@lkubb
lkubb merged commit b293044 into main Oct 14, 2026
16 checks passed
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