-
Notifications
You must be signed in to change notification settings - Fork 7
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
Fixed Github Workflows #251
Conversation
@CodyCBakerPhD, FYI one can run a workflow based on the conclusion of another workflow without invoking complicated meta-workflows (see here. But, since just updating the awscli version fixed the issue, I don't think we need to even make that change. |
Cool, thanks for that - good to know they added that capability |
pull_request: | ||
workflow_dispatch: | ||
workflow_run: | ||
workflows: [update-testing-data] | ||
types: [completed] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If going this route, you'll probably want to add the 'on success' logic to allow early exit (otherwise will proceed to run tests and fail when it doesn't find a certain file/folder); I wonder if success
is an allowed type for the trigger itself?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that seems reasonable. Apparently on: workflow_run
only works on the default branch (see Issue), so I can't test it before merging? Kind of annoying.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that seems reasonable. Apparently on: workflow_run only works on the default branch (see Issue), so I can't test it before merging? Kind of annoying.
This kind of thing is typical of GitHub Action devops stuff - it's the one situation where committing to main to debug stuff is OK IMO
I'll approve and merge this and let you continue messing with it
Updated AWSCLI version to fix github workflows.