Skip to content

Commit

Permalink
fix: Updated repo names
Browse files Browse the repository at this point in the history
  • Loading branch information
ravali-rimmalapudi authored Nov 15, 2021
1 parent 099ec65 commit 1c85ce3
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ on:
description: 'HomeBrew prerelease'
default: 'false'
jobs:
notify-start:
name: Notify Release Started
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEB_HOOK }}
SLACK_COLOR: "#36a64f"
SLACK_USERNAME: CLI Release Bot
SLACK_ICON_EMOJI: ":ship:"
SLACK_TITLE: "Twilio Cli"
SLACK_MESSAGE: 'Release Started :rocket:'
MSG_MINIMAL: actions url
# notify-start:
# name: Notify Release Started
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Slack Notification
# uses: rtCamp/action-slack-notify@v2
# env:
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEB_HOOK }}
# SLACK_COLOR: "#36a64f"
# SLACK_USERNAME: CLI Release Bot
# SLACK_ICON_EMOJI: ":ship:"
# SLACK_TITLE: "Twilio Cli"
# SLACK_MESSAGE: 'Release Started :rocket:'
# MSG_MINIMAL: actions url
test:
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Checkout OAI repo
uses: actions/checkout@v2
with:
repository: 'twilio/twilio-oai'
repository: 'ravali-rimmalapudi/twilio-oai'
token: ${{ secrets.REPO_ACCESS_TOKEN }}
- run: |
cp -R spec/json/. ~/oai_definitions/json/
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
REPO_ACCESS_TOKEN: ${{ github.token }}
TAG_NAME: ${{ steps.semantic-release.outputs.TAG_NAME }}
RELEASE_BODY: ${{needs.update-api-specs.outputs.change-log}}
REPO_NAME: twilio/twilio-cli-core
REPO_NAME: ravali-rimmalapudi/twilio-cli-core
triggerCliWorkflow:
runs-on: ubuntu-latest
needs: [ update-api-specs, release]
Expand All @@ -117,22 +117,22 @@ jobs:
REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
WORKFLOW_NAME: 'release.yml'
BRANCH_NAME: ${{github.event.inputs.cli-branch}}
REPO_NAME: twilio/twilio-cli
REPO_NAME: ravali-rimmalapudi/twilio-cli
INPUTS: '{ "change-log": ${{ toJSON(needs.update-api-specs.outputs.change-log) }}, "version-type": "${{needs.update-api-specs.outputs.version-type}}", "homebrew-branch": "${{github.event.inputs.homebrew-branch}}", "homebrew-prerelease": "${{github.event.inputs.homebrew-prerelease}}" }'
notify-complete-fail:
if: ${{ failure() || cancelled() }}
needs: [ triggerCliWorkflow ]
name: Notify Release Failed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.ALERT_SLACK_WEB_HOOK }}
SLACK_COLOR: "#ff3333"
SLACK_USERNAME: CLI Release Bot
SLACK_ICON_EMOJI: ":ship:"
SLACK_TITLE: "Twilio Cli-core"
SLACK_MESSAGE: 'Release workflow Failed'
MSG_MINIMAL: actions url
# notify-complete-fail:
# if: ${{ failure() || cancelled() }}
# needs: [ triggerCliWorkflow ]
# name: Notify Release Failed
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Slack Notification
# uses: rtCamp/action-slack-notify@v2
# env:
# SLACK_WEBHOOK: ${{ secrets.ALERT_SLACK_WEB_HOOK }}
# SLACK_COLOR: "#ff3333"
# SLACK_USERNAME: CLI Release Bot
# SLACK_ICON_EMOJI: ":ship:"
# SLACK_TITLE: "Twilio Cli-core"
# SLACK_MESSAGE: 'Release workflow Failed'
# MSG_MINIMAL: actions url

0 comments on commit 1c85ce3

Please sign in to comment.