Skip to content

Conversation

@tituspijean
Copy link

The Problem

Workflows disabled due to the 60-day-long period of inactivity (state: disabled_inactivity) need to be re-enabled before using create_dispatch().

The Solution

Implement the enable() that hits the /enable endpoint of API with a PUT request.
I have not added tests due to lack of knowledge about them, sorry.

Cheers from YunoHost-Apps project, that has a tad-too-many repositories to be managed one-by-one. 🙂

@codecov-commenter
Copy link

codecov-commenter commented Nov 13, 2022

Codecov Report

Patch coverage: 33.33% and project coverage change: +0.07 🎉

Comparison is base (297317b) 98.68% compared to head (92eed69) 98.75%.

❗ Current head 92eed69 differs from pull request most recent head 247a221. Consider uploading reports for the commit 247a221 to get more accurate results

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2356      +/-   ##
==========================================
+ Coverage   98.68%   98.75%   +0.07%     
==========================================
  Files         117      117              
  Lines       11745    11677      -68     
==========================================
- Hits        11590    11532      -58     
+ Misses        155      145      -10     
Impacted Files Coverage Δ
github/Workflow.py 97.02% <33.33%> (-1.95%) ⬇️

... and 5 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@EnricoMi
Copy link
Collaborator

EnricoMi commented Feb 3, 2025

Closed in favour of #3088.

@EnricoMi EnricoMi closed this Feb 3, 2025
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.

4 participants