{"id":22741355,"url":"https://github.com/cloud-crew/opsgenie-send-alert","last_synced_at":"2025-08-23T15:43:03.516Z","repository":{"id":264235661,"uuid":"892768473","full_name":"cloud-crew/opsgenie-send-alert","owner":"cloud-crew","description":"A GitHub Action to create alerts in OpsGenie via their REST API.","archived":false,"fork":false,"pushed_at":"2025-08-04T15:27:18.000Z","size":51,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-04T19:18:52.103Z","etag":null,"topics":["alert","devops","github-actions","monitoring","opsgenie"],"latest_commit_sha":null,"homepage":"https://github.com/cdqag/opsgenie-create-alert","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloud-crew.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-11-22T18:35:17.000Z","updated_at":"2025-01-16T17:55:45.000Z","dependencies_parsed_at":"2025-02-19T20:21:13.555Z","dependency_job_id":"d7a17ee6-b87f-41de-8ecb-ae2039dce3ee","html_url":"https://github.com/cloud-crew/opsgenie-send-alert","commit_stats":null,"previous_names":["cloud-crew/opsgenie-send-alert"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/cloud-crew/opsgenie-send-alert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-crew%2Fopsgenie-send-alert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-crew%2Fopsgenie-send-alert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-crew%2Fopsgenie-send-alert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-crew%2Fopsgenie-send-alert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloud-crew","download_url":"https://codeload.github.com/cloud-crew/opsgenie-send-alert/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-crew%2Fopsgenie-send-alert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271755065,"owners_count":24815334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alert","devops","github-actions","monitoring","opsgenie"],"created_at":"2024-12-11T00:09:57.927Z","updated_at":"2025-08-23T15:43:03.479Z","avatar_url":"https://github.com/cloud-crew.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpsGenie Send Alert\n\nThis GitHub Action creates an alerts in [OpsGenie](https://www.atlassian.com/software/opsgenie).\n\n## Usage\n\n```yaml\n- uses: cloud-crew/opsgenie-send-alert@v1\n  with:\n    apiKey: secret\n    message: your message\n```\n\n### Inputs\n\n| Name          | Required | Description                                                                                                            | Limitations                               |\n|---------------|----------|------------------------------------------------------------------------------------------------------------------------|-------------------------------------------|\n| `apiUrl`      | **Yes**  | The base URL for the OpsGenie API (without /alert). **Default**: https://api.opsgenie.com/v2v2                                     |                                           |\n| `apiKey`      | **Yes**  | Your OpsGenie API key                                                                                                       |                                           |\n| `message`     | **Yes**  | The message to be sent with the alert                                                                                                   |                                           |\n| `alias`       | No       | A client-defined unique identifier for the alert, used for alert deduplication De-Duplication                           | 512 characters                            |\n| `description` | No       | A detailed description of the alert                | 15000 characters                          |\n| `responders`  | No       | A list of teams, users, escalations, and schedules to route the alert to                                   | Maximum of 50 teams, users, escalations, or schedules |\n| `visibleTo`   | No       | A list of teams, users, escalations, and schedules who can see the alert without receiving a notification | Maximum of 50 teams or users                |\n| `actions`     | No       | A set of custom actions that can be performed on the alert                                                        | 10 actions, each up to 50 characters                        |\n| `tags`        | No       | Tags associated with the alert                                                                                          | Maximum of 20 tags, each up to 50 characters                        |\n| `details`     | No       | Key-value pairs to define custom properties for the alert                                                        | 8000 characters in total                  |\n| `entity`      | No       | The entity field that generally specifies which domain the alert is related to                      | 512 characters                            |\n| `source`      | No       | Specifies the source where the alert was created                                            | 100 characters                            |\n| `priority`    | No       | The priority level of the alert, default is P3                                                                      | Options: P1, P2, P3, P4, P5       |\n| `user`        | No       | The display name of the request owner                                                                                      | 100 characters                            |\n| `note`        | No       | An additional note that will be added when creating the alert                                                            | 25000 characters                          |\n| `verbose`     | No       | Enables verbose mode for _curl_                                                                                         |                                           |\n\nFields that are arrays or objects should be formatted as valid JSON. Please refer to the examples below.\n\n### Example\n\n```yaml\nname: Example\n\non:\n  workflow_dispatch:\n\nenv:\n  RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n\njobs:\n  example_job:\n    runs-on: ubuntu-latest\n\n    steps:\n      - run: |\n          echo \"Oh no!\"\n          exit 1\n\n      - if: failure()\n        uses: cloud-crew/opsgenie-send-alert@v1\n        with:\n          apiKey: ${{ secrets.OPSGENIE_API_KEY }}\n          message: \"${{ github.workflow }} #${{ github.run_number }} failed\"\n          description: | # The description supports HTML (according to OpsGenie specs)\n            Run number ${{ github.run_number }} of workflow \u003ci\u003e${{ github.workflow }}\u003c/i\u003e has failed!\u003cbr\u003e\n            \u003ca href=\"${{ env.RUN_URL }}\" target=\"_blank\"\u003eOpen run in new window\u003c/a\u003e\n          tags: '[\"tag1\", \"tag2\"]'  # Note that this is a JSON array, but enclosed in single quotes. You can use double quotes, but will need to escape them.\n          verbose: \"true\"  # Enable verbose mode for curl debugging (used under the hood)\n```\n\n## Resources\n\n* [Create an OpsGenie API Key through an API Integration](https://support.atlassian.com/opsgenie/docs/create-a-default-api-integration/)\n* [OpsGenie Alert API Documentation](https://docs.opsgenie.com/docs/alert-api#create-alert)\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-crew%2Fopsgenie-send-alert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloud-crew%2Fopsgenie-send-alert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-crew%2Fopsgenie-send-alert/lists"}