GitHub Actions

GitHub Actions is an automation tool built into GitHub that allows developers to automate workflows for software development tasks, such as continuous integration (CI) and continuous deployment (CD). It enables users to define workflows in YAML files, which specify the steps to be executed automatically when certain events occur in a GitHub repository, like code pushes, pull requests, or issue creation. GitHub Actions can be used to automate tasks like running tests, building code, deploying applications, and managing releases. It integrates directly with GitHub, providing an easy-to-use platform for automating DevOps processes, improving development efficiency, and ensuring that code is tested and deployed consistently.

GitHub Action SMS

SMS GitHub Action on the GitHub Marketplace

Function

Send SMS to one or more recipients when triggered in a workflow.

Usage

  1. Set up the credentials by specifying SEVEN_API_KEY in your repository settings.
  2. Add the following to your workflow:
- name: 'Send SMS'
  uses: seven-io/github-action-sms@master
  with:
    from: 'Tommy Tester'
    text: 'seven.io wishes you a nice day!'
    to: '+4901234567890,Tina Testing'
  env:
    SEVEN_API_KEY: ${{ secrets.SEVEN_API_KEY }}

Inputs

apiKey - mandatory

An API key from seven.io. Alternatively, use the SEVEN_API_KEY environment variable.

to - mandatory

Phone number(s) or contact(s), separated by comma, to which the SMS should be sent.

text - mandatory

The actual message you want to send to the recipient(s).

delay

Delayed sending at the specified time: Unix timestamp or format jjjj-mm-tt hh:ii

foreign_id

Foreign ID to be returned in callbacks. Allowed characters: a-z, A-Z, 0-9, .-_@

from

Sender ID (sender name); max. 16 numeric or 11 alphanumeric characters

label

User-defined label. Allowed characters: a-z, A-Z, 0-9, .-_@

ttl

Time To Live (validity period) in minutes. The default value is 2880

udh

User data header: If set and the text contains hex code, the SMS will be sent as 8-bit binary file.

Output

Returns a return code from our API.

GitHub Action Voice

Voice GitHub Action on the GitHub Marketplace

Function

Send a voice message (text to speech message) when triggered in a workflow.

Voice messages are text messages that are sent to the recipient as a call and are then read aloud on the phone.

Usage

  1. Set up the credentials by specifying secret SEVEN_API_KEY in your repository settings.
  2. Add the following to your workflow:
- name: 'Send Voice'
  uses: seven-io/github-action-voice@master
  with:
    from: 'Tommy Tester'
    text: 'seven.io wishes you a nice day!'
    to: '+4901234567890'
  env:
    SEVEN_API_KEY: ${{ secrets.SEVEN_API_KEY }}

Input

apiKey - mandatory

An API key from seven.io. Alternatively, use the SEVEN_API_KEY environment variable.

to - mandatory

Phone number to send the voice message to

text - mandatory

The actual message content you want to send to the recipients

from

Sender ID (sender name); maximum 16 numeric characters are allowed

Output

Returns a return code from our API.

Support

Need help installing or using our GitHub actions? Feel free to contact us!

Last updated: 5 days ago