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

Bugfix/attempt to fix GitHub action notifications #885

Merged
merged 51 commits into from
Jul 31, 2024

Conversation

252afh
Copy link
Contributor

@252afh 252afh commented Jul 30, 2024

Context

github actions currently always reports a successful build even if the main flow fails

  • Env vars can't be used in with blocks so anything in a with block has been moved out of env
  • success() and failure() also can't be evaluated in a with block, they pretty much only work well in a jobs if condition

Changes proposed in this pull request

  • Passed in the build status to the slack notification task
  • Remove the input commit ref in favour of using the current github sha

Guidance to review

Manually run the _cicd.yml workflow

Relevant links

Things to check

  • I have added any new ENV vars in all deployed environments
  • I have tested any code added or changed
  • I have run integration tests

Copy link
Contributor

@dk-singh dk-singh left a comment

Choose a reason for hiding this comment

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

lgtm

@252afh 252afh merged commit 7d51008 into main Jul 31, 2024
9 checks passed
@252afh 252afh deleted the bugfix/attempt-to-fix-github-action-notifications branch July 31, 2024 12:25
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.

3 participants