OpenAstronomy / OpenAstronomy/github-actions-workflows

Remove the base64 encoded scripts in the workflow files

Open
#9 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
21
Forks
27
Avg merge
2d 9h
Merged PRs (30d)
1

Description

To run the Python scripts within the reusable workflows we checkout the main branch of this repository. However, this means that if a PR updates a Python script the script that the PR CI tests is the version in the main branch and no the PR branch. Need to change the following in each workflow:

- uses: actions/checkout@v2
  with:
    repository: 'OpenAstronomy/github-actions-workflows'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect each reusable workflow file and its actions/checkout step, starting with the checkout configuration shown in the issue. Determine how the workflow can run the Python scripts from the pull request rather than main; done means PR CI tests the scripts from the PR branch across all affected workflows.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.