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 typo in argument to workflow trigger #349

Merged
merged 1 commit into from
Aug 18, 2022
Merged

Fix typo in argument to workflow trigger #349

merged 1 commit into from
Aug 18, 2022

Conversation

jenhagg
Copy link
Collaborator

@jenhagg jenhagg commented Aug 18, 2022

Purpose

We should trigger a docker build of the postreise:stable image when we publish a new release to PyPI. However, this will not work if the input argument is not spelled correctly. The workflow doesn't explicitly fail, but it does emit the following error message.

What the code is doing

Change the argument name to match the workflow being run - see https://github.com/Breakthrough-Energy/plug/blob/main/.github/workflows/docker-build.yml#L6

Testing

I believe this was tested when I added the parameterization here Breakthrough-Energy/actions#8, but that didn't stop typos from occurring. Not sure how to test unless we do another release, but we can run the docker build workflow manually, so it's not an issue.

Time estimate

1 min

@jenhagg jenhagg self-assigned this Aug 18, 2022
@jenhagg jenhagg added the bug Something isn't working label Aug 18, 2022
Copy link
Collaborator

@BainanXia BainanXia left a comment

Choose a reason for hiding this comment

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

Ah, good catch.

Copy link
Collaborator

@rouille rouille left a comment

Choose a reason for hiding this comment

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

🙏

@jenhagg jenhagg merged commit 5d1287f into develop Aug 18, 2022
@jenhagg jenhagg deleted the jen/stable branch August 18, 2022 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants