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

Make has_actions patchable on Repository #202

Merged
merged 1 commit into from
Feb 18, 2025
Merged

Conversation

shrik450
Copy link
Collaborator

This would allow enabling/disabling actions on a repository using:

repo.has_actions = True # or false
repo.commit()

@shrik450 shrik450 requested a review from a team as a code owner January 31, 2025 18:15
Copy link

Coverage Summary

Total Project Coverage

  • Line Coverage: 87.02% (2059/2366)
  • Branch Coverage: 71.93% (433/602)

Coverage by File

File Line Coverage Branch Coverage Lines (Covered/Total) Branches (Covered/Total)
allspice/__init__.py 100.00% 100.00% 5/5 0/0
allspice/allspice.py 81.43% 68.42% 171/210 52/76
allspice/apiobject.py 83.73% 46.35% 1045/1248 89/192
allspice/baseapiobject.py 85.29% 75.00% 87/102 24/32
allspice/exceptions.py 100.00% 100.00% 14/14 0/0
allspice/ratelimiter.py 100.00% 100.00% 22/22 4/4
allspice/utils/__init__.py 100.00% 100.00% 0/0 0/0
allspice/utils/bom_generation.py 100.00% 100.00% 112/112 40/40
allspice/utils/core.py 94.12% 50.00% 16/17 1/2
allspice/utils/list_components.py 92.27% 87.30% 537/582 213/244
allspice/utils/netlist_generation.py 92.59% 83.33% 50/54 10/12

Diff Coverage

Diff: origin/main...HEAD, staged and unstaged changes

No lines with coverage information in this diff.

@McRaeAlex McRaeAlex self-requested a review February 6, 2025 18:32
@shrik450 shrik450 requested a review from kdumontnu February 6, 2025 18:33
@shrik450
Copy link
Collaborator Author

@kdumontnu bumping in case you've missed this!

@shrik450 shrik450 enabled auto-merge February 13, 2025 20:28
Copy link
Contributor

@kdumontnu kdumontnu left a comment

Choose a reason for hiding this comment

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

👍

@shrik450 shrik450 merged commit 693eb56 into main Feb 18, 2025
4 checks passed
@shrik450 shrik450 deleted the su/patchable-actions branch February 18, 2025 19:35
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.

3 participants