From 93f085545a7d0874a3dce5babcf276b8fe00f374 Mon Sep 17 00:00:00 2001 From: Iaroslav Gryshaiev Date: Mon, 30 Mar 2026 16:06:22 +0200 Subject: [PATCH] fix(ci): pass vars context as explicit input to composite action Runner v2.333.0 fixed a bug where `allowCaseFunction` was passed positionally into `allowUnknownKeywords`, accidentally making the parser accept any named-value in composite actions. This broke our use of `vars.GH_USER_TO_SLACK_USER` directly in the run-e2e-tests composite action. Pass it as an explicit input from the calling workflows instead. Ref: https://github.com/actions/runner/pull/4279 --- .github/actions/run-e2e-tests/action.yml | 6 +++++- .github/workflows/console-api-release.yml | 1 + .github/workflows/provider-proxy-release.yml | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/actions/run-e2e-tests/action.yml b/.github/actions/run-e2e-tests/action.yml index 5fd06a09c1..3e665293fe 100644 --- a/.github/actions/run-e2e-tests/action.yml +++ b/.github/actions/run-e2e-tests/action.yml @@ -22,6 +22,10 @@ inputs: description: "Slack webhook URL for failure notifications" required: false default: "" + gh-user-to-slack-user: + description: "JSON mapping of GitHub usernames to Slack user IDs" + required: false + default: "{}" runs: using: composite @@ -40,5 +44,5 @@ runs: ref: ${{ inputs.app }}/v${{ inputs.app-version }} url: ${{ inputs.app-url }} slack-webhook-url: ${{ inputs.slack-webhook-url }} - gh-user-to-slack-user: ${{ vars.GH_USER_TO_SLACK_USER }} + gh-user-to-slack-user: ${{ inputs.gh-user-to-slack-user }} message-title: "Console ${{ inputs.app }} E2E tests failed on ${{ inputs.environment == 'prod' && 'production' || inputs.environment }} ${{ inputs.chain }}" diff --git a/.github/workflows/console-api-release.yml b/.github/workflows/console-api-release.yml index a95361707a..18216109fd 100644 --- a/.github/workflows/console-api-release.yml +++ b/.github/workflows/console-api-release.yml @@ -79,6 +79,7 @@ jobs: environment: staging chain: sandbox slack-webhook-url: ${{ secrets.FAILED_E2E_TESTS_SLACK_WEBHOOK_URL }} + gh-user-to-slack-user: ${{ vars.GH_USER_TO_SLACK_USER }} deploy-prod-mainnet: permissions: diff --git a/.github/workflows/provider-proxy-release.yml b/.github/workflows/provider-proxy-release.yml index 2c2a7d3dfd..fe9343fcfc 100644 --- a/.github/workflows/provider-proxy-release.yml +++ b/.github/workflows/provider-proxy-release.yml @@ -79,6 +79,7 @@ jobs: environment: staging chain: sandbox slack-webhook-url: ${{ secrets.FAILED_E2E_TESTS_SLACK_WEBHOOK_URL }} + gh-user-to-slack-user: ${{ vars.GH_USER_TO_SLACK_USER }} test-beta-mainnet: permissions: @@ -102,6 +103,7 @@ jobs: environment: staging chain: mainnet slack-webhook-url: ${{ secrets.FAILED_E2E_TESTS_SLACK_WEBHOOK_URL }} + gh-user-to-slack-user: ${{ vars.GH_USER_TO_SLACK_USER }} deploy-prod-mainnet: permissions: @@ -159,3 +161,4 @@ jobs: environment: prod chain: sandbox slack-webhook-url: ${{ secrets.FAILED_E2E_TESTS_SLACK_WEBHOOK_URL }} + gh-user-to-slack-user: ${{ vars.GH_USER_TO_SLACK_USER }}