From 9ff7950de3f7f8307d069f1ca7763eda25818b81 Mon Sep 17 00:00:00 2001 From: Shivani Brijmohan <36177801+sbrij001@users.noreply.github.com> Date: Mon, 9 Sep 2024 16:37:24 -0400 Subject: [PATCH 1/2] Update action.yml with Auth Token removed api key and api token and replaced with auth token --- action.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/action.yml b/action.yml index f8ae88ae..a1092c83 100644 --- a/action.yml +++ b/action.yml @@ -2,10 +2,10 @@ name: 'Twilio SMS' author: 'Twilio Labs' description: 'Send an SMS from GitHub Actions using Twilio Programmable SMS' inputs: - fromPhoneNumber: + FROM_PHONE_NUMBER: description: 'Phone number in your Twilio account to send the SMS from' required: true - toPhoneNumber: + TO_PHONE_NUMBER: description: 'Phone number to send the SMS to' required: true message: @@ -14,11 +14,8 @@ inputs: TWILIO_ACCOUNT_SID: description: 'A Twilio Account SID. Can alternatively be stored in environment' required: true - TWILIO_API_KEY: - description: 'A Twilio API Key. Can alternatively be stored in environment' - required: true - TWILIO_API_SECRET: - description: 'A Twilio API Secret. Can alternatively be stored in environment' + TWILIO_AUTH_TOKEN: + description: 'A Twilio Auth Token. Can alternatively be stored in environment' required: true outputs: messageSid: From 7aead76fa0b47771e8bf8777db9d714761b9541c Mon Sep 17 00:00:00 2001 From: sbrij001 Date: Wed, 25 Sep 2024 09:56:52 -0400 Subject: [PATCH 2/2] remove env variable guidance --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index a1092c83..fbb93759 100644 --- a/action.yml +++ b/action.yml @@ -12,10 +12,10 @@ inputs: description: 'The message you want to send' required: true TWILIO_ACCOUNT_SID: - description: 'A Twilio Account SID. Can alternatively be stored in environment' + description: 'A Twilio Account SID.' required: true TWILIO_AUTH_TOKEN: - description: 'A Twilio Auth Token. Can alternatively be stored in environment' + description: 'A Twilio Auth Token.' required: true outputs: messageSid: