Skip to content

Create Python script to re-enable workflows #2

@mattBrzezinski

Description

@mattBrzezinski

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions