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

Fix Issues With Checks.yml workflow #130

Merged
merged 1 commit into from
Aug 5, 2024
Merged

Fix Issues With Checks.yml workflow #130

merged 1 commit into from
Aug 5, 2024

Conversation

IsaacMilarky
Copy link
Collaborator

Fix Issues With Checks.yml workflow

Problem

The checks.yml file was not working when I was trying to use it on my recently generated repodive-tools repository
. It was failing to create the label for the desired issue properly.

Also, it doesn't make sense to run the checks.yml on pull requests because it is an action that is supposed to update an issue and issues are supposed to releflect the canon state of the project. If we run it on pending changes then the issue won't make sense.

Solution

Make the workflow run on push to main. Also use the main version of the extendJSONFile workflow instead of the dev version that didn't work. Also, add a standard api key to use for this action as a secret in the DSACMS org. I also removed the label logic from the checks.yml file because it wasn't working.

Signed-off-by: Isaac Milarsky <isaac.milarsky@hhs.cms.gov>
@IsaacMilarky IsaacMilarky linked an issue Jul 30, 2024 that may be closed by this pull request
Copy link
Contributor

@decause-gov decause-gov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM +1 🚢

@IsaacMilarky IsaacMilarky merged commit bfe7c69 into dev Aug 5, 2024
2 checks passed
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.

checks.yml repo linter requires token
2 participants