Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: rocket chat inputs for notifications #1524

Merged
merged 2 commits into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ inputs:
description: The status of the job
required: true
webhook_url:
description: The RocketChat Webhook URL
required: true
webhook_token:
description: The access token for the Webhook URL
description: |
The RocketChat Webhook URL as copied from Rocket.Chat.
required: true
github_token:
description: |
The GitHub access token for the action so it can fetch
information from the GitHub API.
required: false

runs:
using: composite
Expand All @@ -30,4 +33,4 @@ runs:
channel: "#bc-digital-wallet-core-team"
commit: true
url: ${{ inputs.webhook_url }}
token: ${{ inputs.webhook_token }}
token: ${{ inputs.github_token }}
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ jobs:
job_title: "BC Wallet iOS Build - Run number ${{ github.run_number }}"
job_status: ${{ job.status }}
webhook_url: ${{ secrets.ROCKETCHAT_WEBHOOK }}
webhook_token: ${{ secrets.ROCKETCHAT_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}

build-android:
needs: [check-android-secrets]
Expand Down Expand Up @@ -381,7 +381,7 @@ jobs:
job_title: "BC Wallet Android Build - Run number ${{ github.run_number }}"
job_status: ${{ job.status }}
webhook_url: ${{ secrets.ROCKETCHAT_WEBHOOK }}
webhook_token: ${{ secrets.ROCKETCHAT_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}

ship-to-saucelabs:
if: github.ref_name == 'main' && needs.check-android-secrets.outputs.isReleaseBuild == 'true' && needs.check-ios-secrets.outputs.isReleaseBuild == 'true'
Expand Down
2 changes: 1 addition & 1 deletion bifold
Loading