From 0770acd6c05a2f2a548af01ae4940b38533695d5 Mon Sep 17 00:00:00 2001 From: titusfortner Date: Mon, 24 Jun 2024 10:37:48 -0500 Subject: [PATCH] [build] Release Staging workflow automatically runs Update Documentation workflow --- .github/workflows/stage-release.yml | 6 ++++++ .github/workflows/update-documentation.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/stage-release.yml b/.github/workflows/stage-release.yml index ee722d1773eb5..5f4eccb69d477 100644 --- a/.github/workflows/stage-release.yml +++ b/.github/workflows/stage-release.yml @@ -57,3 +57,9 @@ jobs: generate_release_notes: true prerelease: false files: build/dist/*.* + + update-documentation: + needs: github-release + uses: ./.github/workflows/update-documentation.yml + with: + tag: selenium-${{ needs.github-release.outputs.version }} diff --git a/.github/workflows/update-documentation.yml b/.github/workflows/update-documentation.yml index dfbf0155976ba..868b918eb63c6 100644 --- a/.github/workflows/update-documentation.yml +++ b/.github/workflows/update-documentation.yml @@ -8,6 +8,12 @@ on: required: true type: string + workflow_call: + inputs: + tag: + required: true + type: string + env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}