{"id":13474456,"url":"https://github.com/nexmo-community/nexmo-sms-action","last_synced_at":"2025-08-18T10:31:59.157Z","repository":{"id":34170750,"uuid":"155456079","full_name":"nexmo-community/nexmo-sms-action","owner":"nexmo-community","description":"Send SMS from GitHub Actions","archived":false,"fork":false,"pushed_at":"2023-06-18T11:59:59.000Z","size":462,"stargazers_count":14,"open_issues_count":7,"forks_count":11,"subscribers_count":14,"default_branch":"main","last_synced_at":"2024-10-30T07:47:52.417Z","etag":null,"topics":["extend","nexmo","sms"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nexmo-community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-10-30T21:04:45.000Z","updated_at":"2024-06-05T00:49:57.000Z","dependencies_parsed_at":"2024-02-17T18:31:06.126Z","dependency_job_id":null,"html_url":"https://github.com/nexmo-community/nexmo-sms-action","commit_stats":{"total_commits":13,"total_committers":6,"mean_commits":"2.1666666666666665","dds":0.5384615384615384,"last_synced_commit":"364daf693029da49644d5e0346a6c949716dc529"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexmo-community%2Fnexmo-sms-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexmo-community%2Fnexmo-sms-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexmo-community%2Fnexmo-sms-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexmo-community%2Fnexmo-sms-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nexmo-community","download_url":"https://codeload.github.com/nexmo-community/nexmo-sms-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230225635,"owners_count":18193014,"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","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":["extend","nexmo","sms"],"created_at":"2024-07-31T16:01:12.495Z","updated_at":"2024-12-18T06:11:57.910Z","avatar_url":"https://github.com/nexmo-community.png","language":"JavaScript","funding_links":[],"categories":["Community Resources","Uncategorized"],"sub_categories":["Notifications and Messages","Uncategorized"],"readme":"# Nexmo SMS Action\n\nSend an SMS from [GitHub Actions](https://github.com/features/actions) using [Nexmo](https://www.nexmo.com/).\n\n## Usage\n\n```workflow\nname: Push to master\non: [push]\njobs:\n  send-sms:\n    name: Send SMS\n    runs-on: ubuntu-latest\n    steps:\n    - name: Send SMS\n      uses: nexmo-community/nexmo-sms-action@main\n      env:\n        NEXMO_API_KEY: ${{ secrets.NEXMO_API_KEY }}\n        NEXMO_API_SECRET: ${{ secrets.NEXMO_API_SECRET }}\n      with:\n        nexmoNumber: ${{ secrets.NEXMO_NUMBER }}\n        recipientNumber: 14155512345\n        message: \"New push on ${{ github.repository }} from ${{ github.actor }}\"\n```\n\nThe example above will send `New push on org-name/repo-name from your_username` to `14155512345`.\n\nIf you don't want to expose your recipient number, you can use secrets.\n\nFor example, a new secret called `RECIPIENT_NUMBER` could be used inside of `with` as follows:\n\n```workflow\nname: Push to master\non: [push]\njobs:\n  send-sms:\n    name: Send SMS\n    runs-on: ubuntu-latest\n    steps:\n    - name: Send SMS\n      uses: nexmo-community/nexmo-sms-action@main\n      env:\n        NEXMO_API_KEY: ${{ secrets.NEXMO_API_KEY }}\n        NEXMO_API_SECRET: ${{ secrets.NEXMO_API_SECRET }}\n      with:\n        nexmoNumber: ${{ secrets.NEXMO_NUMBER }}\n        recipientNumber: ${{ secrets.RECIPIENT_NUMBER }}\n        message: \"New push on ${{ github.repository }} from ${{ github.actor }}\"\n```\n\n## Secrets\n\nThis action uses the following required secrets:\n\n- `NEXMO_API_KEY` - Your Nexmo API Key.\n- `NEXMO_API_SECRET` - Your Nexmo API Secret.\n- `NEXMO_NUMBER` - A number on your Nexmo account without any spaces or symbols. Example: `15551231234`.\n\n\n## Event Information\n\nAll of the information attached to an event is available in the `github.event` variable. To see the possible values, you can use the following step in your workflow:\n\n```yaml\n- run: echo '${{ toJson(github.event) }}'\n```\n\nYou can use this information in both the inputs for your action and to run the action conditionally.\n\nHere's an example of sending an SMS any time an issue is created with the `urgent` label:\n\n```workflow\nname: Issue\non:\n  issues:\n    types: [labeled]\njobs:\n  send-sms:\n    name: Send SMS\n    runs-on: ubuntu-latest\n    steps:\n    - name: Send SMS\n      uses: nexmo-community/nexmo-sms-action@main\n      env:\n        NEXMO_API_KEY: ${{ secrets.NEXMO_API_KEY }}\n        NEXMO_API_SECRET: ${{ secrets.NEXMO_API_SECRET }}\n      with:\n        nexmoNumber: ${{ secrets.NEXMO_NUMBER }}\n        recipientNumber: ${{ secrets.RECIPIENT_NUMBER }}\n        message: \"This urgent issue needs your attention: ${{ github.event.issue.html_url }}\"\n      if: github.event.label.name == 'urgent'\n```\n\n[GitHub Actions]: https://github.com/actions\n[Nexmo]: https://developer.nexmo.com\n[jq]: https://stedolan.github.io/jq/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexmo-community%2Fnexmo-sms-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnexmo-community%2Fnexmo-sms-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexmo-community%2Fnexmo-sms-action/lists"}