diff --git a/.github/workflows/actions/send-rocketchat-notification/action.yml b/.github/workflows/actions/send-rocketchat-notification/action.yml index 990f5bd8..9e31b7e5 100644 --- a/.github/workflows/actions/send-rocketchat-notification/action.yml +++ b/.github/workflows/actions/send-rocketchat-notification/action.yml @@ -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 @@ -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 }} diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 0e07687f..873c77bb 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -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] @@ -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' diff --git a/bifold b/bifold index 80864d11..7c0eb18e 160000 --- a/bifold +++ b/bifold @@ -1 +1 @@ -Subproject commit 80864d111dcdca5de7336dba5a3d0e47e4e9358e +Subproject commit 7c0eb18ee073cff34251634ce226f692792f80f3