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

Create Python script to re-enable workflows #2

Open
mattBrzezinski opened this issue Apr 23, 2021 · 0 comments
Open

Create Python script to re-enable workflows #2

mattBrzezinski opened this issue Apr 23, 2021 · 0 comments
Milestone

Comments

@mattBrzezinski
Copy link
Member

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

# 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
@mattBrzezinski mattBrzezinski added this to the v1.0.0 milestone Apr 23, 2021
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

No branches or pull requests

1 participant