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

CI improvements #40

Merged
merged 5 commits into from
Dec 24, 2024
Merged

CI improvements #40

merged 5 commits into from
Dec 24, 2024

Conversation

rabi-siddique
Copy link
Collaborator

@rabi-siddique rabi-siddique commented Dec 24, 2024

The PR does the following:

  • Ensures CI workflows are triggered when merging with the main branch.
  • Ensure triggering of CI workflows manually from the Actions tab.
  • Adds scheduled runs for Liquidation and Vault indexing tests.
  • Enables sending CI failures of scheduled or manual workflow runs to Slack.
  • Allows canceling out overlapping workflow runs.

- name: Notify About Failure
if: >
failure() && github.event_name != 'pull_request' &&
github.repository_owner == 'agoric'
Copy link

@Muneeb147 Muneeb147 Dec 24, 2024

Choose a reason for hiding this comment

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

Why this check? To avoid running it in fork repos?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

To reduce distractions during development, notifications are restricted to only scheduled runs or manual triggers.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

To avoid running it in fork repos?

I reckon you're referring to github.repository_owner == 'agoric'? The condition github.repository_owner == 'agoric' is actually used in the agoric-sdk workflows primarily for Slack notifications, which is why I decided to adopt it. Not to avoid running it in fork repos.

https://github.com/search?q=repo%3AAgoric%2Fagoric-sdk+%3D%3D+%27agoric%27+language%3AYAML&type=code&l=YAML

@rabi-siddique rabi-siddique merged commit 2bab26f into main Dec 24, 2024
3 checks passed
@rabi-siddique rabi-siddique deleted the rs-ci-enhancements branch December 24, 2024 14:26
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