Skip to content

Commit

Permalink
Bump gitleaks from 8.23.1 to 8.23.2 (#125)
Browse files Browse the repository at this point in the history
Bump gitleaks from 8.23.1 to 8.23.2
  • Loading branch information
fabasoad authored Jan 24, 2025
1 parent 0d0cbad commit 158f89c
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 46 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ repos:
hooks:
- id: detect-secrets
- repo: https://github.com/gitleaks/gitleaks
rev: v8.23.1
rev: v8.23.2
hooks:
- id: gitleaks
- repo: https://github.com/fabasoad/pre-commit-snyk
Expand Down
68 changes: 35 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@

This action sends Twilio voice call.

## Supported OS

<!-- prettier-ignore-start -->
| OS | |
|---------|--------------------|
| Windows | :white_check_mark: |
| Linux | :white_check_mark: |
| macOS | :white_check_mark: |
<!-- prettier-ignore-end -->

## Prerequisites

Sign up to [Twilio](https://twilio.com) official web page. Then [register a new
Expand All @@ -21,42 +31,34 @@ page](https://www.twilio.com/console).

## Inputs

| Name | Required | Description | Default | Possible values |
|--------------------|----------|-----------------------------------------------------------------|---------|----------------------------------|
| twilio_account_sid | Yes | Twilio account SID | | _&lt;String&gt;_ |
| twilio_auth_token | Yes | Twilio auth token | | _&lt;String&gt;_ |
| text | Yes | Text that will be send by voice call. | | _&lt;String&gt;_ |
| from | Yes | Phone number in your Twilio account to send the voice call from | | _&lt;String&gt;_ |
| to | Yes | Phone number to send the voice call to | | _&lt;String&gt;_ |
| voice | No | Call voice | `alice` | `man`, `woman`, `alice` |
| twilio_log_level | No | Log level of the output from twilio call request | `debug` | `debug`, `info`, `warn`, `error` |

## Example usage

### Workflow configuration

```yaml
name: Twilio

on: push

jobs:
twilio-voice-call:
name: Twilio voice call
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: fabasoad/twilio-voice-call-action@v1
if: success()
with:
text: 'GitHub actions build number ${{ github.run_number }} passed successfully.'
from: '+1(123)4567890'
to: '+1(123)4567809'
twilio_account_sid: ${{ secrets.TWILIO_ACCOUNT_SID }}
twilio_auth_token: ${{ secrets.TWILIO_AUTH_TOKEN }}
- uses: fabasoad/twilio-voice-call-action@v1
with:
# (Required) Twilio Account SID.
twilio_account_sid: "${{ secrets.TWILIO_ACCOUNT_SID }}"
# (Required) Twilio Auth token.
twilio_auth_token: "${{ secrets.TWILIO_AUTH_TOKEN }}"
# (Required) Text that will be sent by voice call.
text: "GitHub actions build number ${{ github.run_number }} passed successfully."
# (Required) Phone number in your Twilio account to send the voice call from.
from: '+1(123)4567890'
# (Required) Phone number to send the voice call to.
to: '+1(123)4567809'
# (Optional) Call voice. Possible values: man, woman, alice. Defaults to "alice".
voice: "alice"
# (Optional) Twilio log level. Defaults to "debug".
twilio_log_level: "debug"
```
### Result
## Outputs
None.
## Example phone call
Download [example.mp3](https://raw.githubusercontent.com/fabasoad/twilio-voice-call-action/main/example.mp3)
file to listen.
## Contributions
![Alt](https://repobeats.axiom.co/api/embed/379948bad849c09fd6752bbdcd4aec28c0c25617.svg "Repobeats analytics image")
24 changes: 12 additions & 12 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
---
name: 'Twilio Voice Call'
name: Twilio Voice Call
author: Yevhen Fabizhevskyi
description: 'This GitHub action sends voice call with the defined text.'
description: This GitHub action sends voice call with the defined text.
branding:
icon: phone-incoming
color: white
inputs:
twilio_account_sid:
description: 'Twilio Account SID.'
description: Twilio Account SID.
required: true
twilio_auth_token:
description: 'Twilio Auth token.'
description: Twilio Auth token.
required: true
text:
description: 'Text that will be send by voice call.'
description: Text that will be sent by voice call.
required: true
from:
description: 'Phone number in your Twilio account to send the voice call from.'
description: Phone number in your Twilio account to send the voice call from.
required: true
to:
description: 'Phone number to send the voice call to.'
description: Phone number to send the voice call to.
required: true
voice:
description: 'Call voice. Possible values: man, woman, alice.'
description: "Call voice. Possible values: man, woman, alice."
required: false
default: alice
twilio_log_level:
description: 'Twilio log level.'
description: Twilio log level.
required: false
default: 'debug'
default: debug
runs:
using: 'node20'
main: 'dist/index.js'
using: node20
main: dist/index.js

0 comments on commit 158f89c

Please sign in to comment.