invenia / invenia/KeepActionsAlive

Create Python script to re-enable workflows

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
13
Forks
6
PR merge metrics
No merged PRs in 30d

Description

We want to create a Python script which will re-enable some workflows. This roughly looks like:

```julia
# Get a list of all packages in the Invenia repository as well as others such as AWS.jl
# Get the PAT from SecretsManager

# Make an HTTP GET request to the following to get all workflows for the repository
# - https://api.github.com/repos/Invenia/Checkpoints.jl/actions/workflows

# Iterate over all these workflows and create an authenticated request to,
# NOTE: workflow_id can be replaced by it's file name
# - https://api.github.com/repos/Invenia/Checkpoints.jl/actions/workflows/{WORKFLOW_ID}/enable
```

Contributor guide

No contributing guide indexed for this repository

Research direction

No target file or entry point is named; start by reviewing the repository structure and existing workflow or script conventions. Use the listed GitHub Actions endpoints and the repository's AWS SecretsManager context to determine the authenticated requests needed. Done means a Python script can obtain the PAT, list the repository workflows, and request that each workflow be enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, github-actions, python
Domain
ci-cd, cloud, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.