diff --git a/.github/workflows/cron-checks.yml b/.github/workflows/cron-checks.yml index a25fd149a0..8f93dbb6d8 100644 --- a/.github/workflows/cron-checks.yml +++ b/.github/workflows/cron-checks.yml @@ -58,7 +58,6 @@ jobs: fail-fast: false runs-on: ${{ matrix.os }} env: - GITHUB_EVENT: ${{ toJson(github.event) }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ALLURE_TOKEN: ${{ secrets.ALLURE_TOKEN }} STREAM_DEMO_APP_SECRET: ${{ secrets.STREAM_DEMO_APP_SECRET }} diff --git a/.github/workflows/sdk-size-metrics.yml b/.github/workflows/sdk-size-metrics.yml index c7e6af98ca..50745c7122 100644 --- a/.github/workflows/sdk-size-metrics.yml +++ b/.github/workflows/sdk-size-metrics.yml @@ -33,6 +33,6 @@ jobs: timeout-minutes: 30 env: GITHUB_PR_NUM: ${{ github.event.pull_request.number }} - EVENT_NAME: ${{ github.event_name }} + GITHUB_EVENT_NAME: ${{ github.event_name }} MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }} diff --git a/.github/workflows/smoke-checks.yml b/.github/workflows/smoke-checks.yml index 490899d6c8..7d0ef74a25 100644 --- a/.github/workflows/smoke-checks.yml +++ b/.github/workflows/smoke-checks.yml @@ -193,7 +193,7 @@ jobs: env: ALLURE_TOKEN: ${{ secrets.ALLURE_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GITHUB_EVENT: ${{ toJson(github.event) }} + GITHUB_PR_NUM: ${{ github.event.number }} - id: get_launch_id run: echo "launch_id=${{env.LAUNCH_ID}}" >> $GITHUB_OUTPUT if: env.LAUNCH_ID != '' diff --git a/fastlane/Fastfile b/fastlane/Fastfile index ba032a9b26..5aaadd0911 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -872,7 +872,7 @@ lane :show_frameworks_sizes do |options| FastlaneCore::PrintTable.print_values(title: 'SDK Size', config: branch_sizes) if is_ci - if ENV['EVENT_NAME'].to_s == 'push' + if ENV['GITHUB_EVENT_NAME'].to_s == 'push' File.write(sdk_size_path, JSON.pretty_generate(branch_sizes)) Dir.chdir(File.dirname(sdk_size_path)) do if sh('git status -s', log: false).to_s.empty?