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

Fixed Github Workflows #251

Merged
merged 7 commits into from
Sep 28, 2023
Merged

Fixed Github Workflows #251

merged 7 commits into from
Sep 28, 2023

Conversation

pauladkisson
Copy link
Member

Updated AWSCLI version to fix github workflows.

@pauladkisson
Copy link
Member Author

@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.

@CodyCBakerPhD
Copy link
Member

@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]
Copy link
Member

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?

Copy link
Member Author

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.

Copy link
Member

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

@CodyCBakerPhD CodyCBakerPhD merged commit 1978ddd into main Sep 28, 2023
15 checks passed
@CodyCBakerPhD CodyCBakerPhD deleted the workflow branch September 28, 2023 21:22
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.

2 participants