Skip to content

Add deploy_key.actions_present - #36

Merged
lkubb merged 1 commit into
mainfrom
tests-updates
Oct 14, 2026
Merged

lkubb merged 1 commit into
mainfrom
tests-updates

Conversation

@lkubb

@lkubb lkubb commented Oct 14, 2026

Copy link
Copy Markdown
Member

What does this PR do?

Adds a state that manages an actions secret + deploy public key in a repo. Makes some workflows possible that are hard to enable otherwise.

Merge requirements satisfied?

[NOTICE] Bug fixes or new features require tests.

Commits signed with GPG?

Yes

@codecov

codecov Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.33333% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.62%. Comparing base (c89de25) to head (6dd31ae).

Files with missing lines Patch % Lines
.../saltext/github/utils/gh/statecores/deploy_keys.py 92.15% 4 Missing ⚠️
src/saltext/github/states/github_repo.py 66.66% 1 Missing and 1 partial ⚠️
...ltext/github/resources/github/states/deploy_key.py 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
- Coverage   96.64%   96.62%   -0.03%     
==========================================
  Files         122      122              
  Lines        7338     7488     +150     
  Branches      522      532      +10     
==========================================
+ Hits         7092     7235     +143     
- Misses        207      213       +6     
- Partials       39       40       +1     
Flag Coverage Δ
Linux 96.62% <95.33%> (-0.03%) ⬇️
macOS 96.62% <95.33%> (-0.03%) ⬇️
project 95.14% <89.39%> (-0.15%) ⬇️
py310 86.85% <11.33%> (-2.94%) ⬇️
py311 86.85% <11.33%> (-2.94%) ⬇️
py314 96.58% <95.33%> (-0.03%) ⬇️
salt_3006_27 86.85% <11.33%> (-2.94%) ⬇️
salt_3008_2 96.58% <95.33%> (-0.03%) ⬇️
tests 97.46% <100.00%> (+0.04%) ⬆️

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 16:45
@lkubb
lkubb merged commit d311338 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