From 39862d493935232fb6f0acb1db09ad42d67ca7d4 Mon Sep 17 00:00:00 2001 From: Ruslan Farkhutdinov <23283554+r-farkhutdinov@users.noreply.github.com> Date: Tue, 18 Aug 2026 13:33:28 +0000 Subject: [PATCH 1/2] CI: Remove workflow_call trigger from packages_publishing & use GH CLI for call (#34811) --- .github/workflows/packages_publishing.yml | 20 +----------------- .../packages_publishing_scheduler.yml | 21 +++++++++++-------- 2 files changed, 13 insertions(+), 28 deletions(-) diff --git a/.github/workflows/packages_publishing.yml b/.github/workflows/packages_publishing.yml index 899fbba3f8d4..9ab7db1634a6 100644 --- a/.github/workflows/packages_publishing.yml +++ b/.github/workflows/packages_publishing.yml @@ -15,20 +15,6 @@ on: type: string description: Package file filter pattern required: false - workflow_call: - inputs: - tag: - type: string - default: daily - required: false - filter: - type: string - default: '' - required: false - branch: - type: string - default: '' - required: false permissions: contents: read @@ -43,14 +29,12 @@ jobs: build: name: Build packages runs-on: ubuntu-latest - environment: ${{ (inputs.tag == 'stable' || (github.event_name == 'workflow_dispatch' && !contains(github.workflow_ref, '/.github/workflows/packages_publishing_scheduler.yml@'))) && 'packages-publishing' || 'packages-publishing-automation' }} + environment: ${{ (inputs.tag == 'stable' && 'packages-publishing-stable') || 'packages-publishing-daily' }} outputs: packages: ${{ steps.filter.outputs.packages }} steps: - name: Get sources uses: actions/checkout@v6 - with: - ref: ${{ inputs.branch || github.ref }} - name: Set up nodejs uses: actions/setup-node@v6 @@ -115,8 +99,6 @@ jobs: steps: - name: Get sources uses: actions/checkout@v6 - with: - ref: ${{ inputs.branch || github.ref }} - name: Download artifacts uses: actions/download-artifact@v8 diff --git a/.github/workflows/packages_publishing_scheduler.yml b/.github/workflows/packages_publishing_scheduler.yml index a4d52580cf46..0e598709150c 100644 --- a/.github/workflows/packages_publishing_scheduler.yml +++ b/.github/workflows/packages_publishing_scheduler.yml @@ -4,19 +4,22 @@ on: schedule: - cron: '30 19 * * *' -permissions: - contents: read - packages: write - jobs: publish: + runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} strategy: matrix: branch: ['23_2', '24_1', '24_2', '25_1', '25_2'] name: Run Packages Publishing workflow - uses: ./.github/workflows/packages_publishing.yml - with: - tag: daily - branch: ${{ matrix.branch }} - secrets: inherit + steps: + - name: Get sources + uses: actions/checkout@v6 + with: + sparse-checkout: README.md + + - name: Publish Packages (${{ matrix.branch }}) + run: | + gh workflow run packages_publishing.yml -f tag=daily --ref ${{ matrix.branch }} From cf66577665fb74d760777c8a0bf88fbc1c4a8a56 Mon Sep 17 00:00:00 2001 From: Ruslan Farkhutdinov <23283554+r-farkhutdinov@users.noreply.github.com> Date: Tue, 18 Aug 2026 17:08:31 +0300 Subject: [PATCH 2/2] Remove packages_publishing_scheduler WF --- .../packages_publishing_scheduler.yml | 25 ------------------- 1 file changed, 25 deletions(-) delete mode 100644 .github/workflows/packages_publishing_scheduler.yml diff --git a/.github/workflows/packages_publishing_scheduler.yml b/.github/workflows/packages_publishing_scheduler.yml deleted file mode 100644 index 0e598709150c..000000000000 --- a/.github/workflows/packages_publishing_scheduler.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Publishing to GitHub Packages (scheduler) - -on: - schedule: - - cron: '30 19 * * *' - -jobs: - publish: - runs-on: ubuntu-latest - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - strategy: - matrix: - branch: ['23_2', '24_1', '24_2', '25_1', '25_2'] - - name: Run Packages Publishing workflow - steps: - - name: Get sources - uses: actions/checkout@v6 - with: - sparse-checkout: README.md - - - name: Publish Packages (${{ matrix.branch }}) - run: | - gh workflow run packages_publishing.yml -f tag=daily --ref ${{ matrix.branch }}