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

Support more filters in slack notification #21

Open
2 tasks
cychiuae opened this issue Aug 1, 2024 · 4 comments
Open
2 tasks

Support more filters in slack notification #21

cychiuae opened this issue Aug 1, 2024 · 4 comments
Assignees

Comments

@cychiuae
Copy link
Contributor

cychiuae commented Aug 1, 2024

Original in #16, we supported filtering by a check conclusion when sending slack notification.

We want to enhance this filtering such that it also supports filter the job/check/action we want to report to slack.

To be think / research about:

@cychiuae
Copy link
Contributor Author

I imagine something like

  • /gha subscribe oursky/github-actions-manager branches:[branch_names,comma_separated/*]:[job_statuses,comma_separated]
    • e.g. /gha subscribe oursky/github-actions-manager branches:branch_1,branch_2:failure,timed_out
  • /gha subscribe oursky/github-actions-manager workflows:[workflow_names,comma_separated/*]:[job_statuses,comma_separated]
    • e.g. /gha subscribe oursky/github-actions-manager workflows:workflow1,workflow2:failure,timed_out
  • /gha subscribe oursky/github-actions-manager workflows:[worflow_names,comma_separated/*]:[job_statuses,comma_separated] branches:[branch_names,comma_separated/*]:[job_statuses,comma_separated]
  • /gha subscribe oursky/github-actions-manager -> /gha subscribe oursky/github-actions-manager all

/gha subscribe oursky/github-actions-manager -> means all jobs, all statuses
/gha subscribe oursky/github-actions-manager feature:feature_names[:statuses] feature_2:feature_2_names[:statuses]

@cychiuae
Copy link
Contributor Author

cychiuae commented Aug 12, 2024

  1. Setup own repo for running github action tasks
  2. Follow readme to setup the development enviroment
  3. Update readme if necessary
  4. Think about how to we store the configurations
  5. Implement fs kv storage
  6. Runtime migration on old config structure to new config structure
  7. Implement the above ^^^^^^

@Kuixz
Copy link
Contributor

Kuixz commented Aug 13, 2024

  • Setup own repo for running github action tasks
  • Follow readme to setup the development enviroment
  • Update readme if necessary
  • Think about how to we store the configurations
  • Implement fs kv storage
  • Runtime migration on old config structure to new config structure
  • Implement the above ^^^^^^

@Kuixz
Copy link
Contributor

Kuixz commented Aug 15, 2024

  • /gha subscribe owner/repo branches:[branch_names,comma_separated/*]:[job_statuses,comma_separated]

  • /gha subscribe owner/repo branches:branch_1,branch_2:failure,timed_out

  • /gha subscribe owner/repo workflows:[workflow_names,comma_separated/*]:[job_statuses,comma_separated]

  • /gha subscribe owner/repo workflows:workflow1,workflow2:failure,timed_out

  • /gha subscribe owner/repo workflows:[worflow_names,comma_separated/*]:[job_statuses,comma_separated] branches:[branch_names,comma_separated/*]:[job_statuses,comma_separated]

  • /gha subscribe owner/repo -> /gha subscribe owner/repo all

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

No branches or pull requests

2 participants