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

[🚀site/chore]: create a workflow to create/update/resolve issue in case StatusCake integration detects site issue #2166

Open
ala-n opened this issue Jan 12, 2024 · 2 comments
Assignees
Labels
enhancement Improvements and additions to code site Feature, enhancement or bug for demo site

Comments

@ala-n
Copy link
Collaborator

ala-n commented Jan 12, 2024

As an ESL maintainer, I want to have an automated process to report site problems detected by the outside service (in our case Status Cake).

Behavior:

  • GitHub workflow runs once an event is received by the webhook or by the cron scheduler if the webhook does not work.
  • The workflow creates a specially marked (fixed title or special label) issue on the project (credentials to be provided by the repository secrets).
  • The workflow closes the issue automatically in case the service reports a successful check. (Note to self: close with a clear comment that the issue is closed by a successful status).
  • The workflow provides a compact but informative status of the check in the issue and updates it if required while the status is not successful.

Technical details:

  1. Use a test repository to check the workflow first.
  2. Use official and recommended actions to manipulate GitHub entries (issues, comments).
@ala-n ala-n added enhancement Improvements and additions to code site Feature, enhancement or bug for demo site labels Jan 12, 2024
@fshovchko
Copy link
Contributor

Test repository for status check workflow: fshovchko/status-check#1

@fshovchko
Copy link
Contributor

The issue created by bot looks like this:
Screenshot from 2024-02-05 15-24-10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements and additions to code site Feature, enhancement or bug for demo site
Projects
None yet
Development

No branches or pull requests

3 participants