Skip to content

Commit

Permalink
[ci] Update workflow deploy node/standalone browser versions
Browse files Browse the repository at this point in the history
Signed-off-by: Viet Nguyen Duc <[email protected]>
  • Loading branch information
VietND96 committed Feb 3, 2025
1 parent f31f08a commit a496fc8
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 13 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release-chrome-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,15 @@ jobs:
uses: peter-evans/create-pull-request@main
with:
token: ${{ secrets.SELENIUM_CI_TOKEN }}
commit-message: "[ci] Upload CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} version with Grid ${{ env.GRID_VERSION }}"
title: "[ci] Upload CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} version with Grid ${{ env.GRID_VERSION }}"
body: "This PR contains the CHANGELOG for Node/Standalone Chrome with specific browser versions: ${{ github.event.inputs.browser-versions }}"
commit-message: |
[ci] Upload CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} version with Grid ${{ env.GRID_VERSION }}
Browser versions: ${{ github.event.inputs.browser-versions }}
title: "[ci] CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} browser versions with Grid ${{ env.GRID_VERSION }}"
body: "This PR contains the CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} with specific browser versions: ${{ github.event.inputs.browser-versions }}"
committer: 'Selenium CI Bot <[email protected]>'
author: 'Selenium CI Bot <[email protected]>'
branch: browser-node-changelog
branch: browser-node-${{ env.BROWSER_NAME }}-changelog
- name: Check outputs
if: ${{ steps.cpr.outputs.pull-request-number }}
run: |
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/release-edge-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,15 @@ jobs:
uses: peter-evans/create-pull-request@main
with:
token: ${{ secrets.SELENIUM_CI_TOKEN }}
commit-message: "[ci] Upload CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} version with Grid ${{ env.GRID_VERSION }}"
title: "[ci] Upload CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} version with Grid ${{ env.GRID_VERSION }}"
body: "This PR contains the CHANGELOG for Node/Standalone Edge with specific browser versions: ${{ github.event.inputs.browser-versions }}"
commit-message: |
[ci] Upload CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} version with Grid ${{ env.GRID_VERSION }}
Browser versions: ${{ github.event.inputs.browser-versions }}
title: "[ci] CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} browser versions with Grid ${{ env.GRID_VERSION }}"
body: "This PR contains the CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} with specific browser versions: ${{ github.event.inputs.browser-versions }}"
committer: 'Selenium CI Bot <[email protected]>'
author: 'Selenium CI Bot <[email protected]>'
branch: browser-node-changelog
branch: browser-node-${{ env.BROWSER_NAME }}-changelog
- name: Check outputs
if: ${{ steps.cpr.outputs.pull-request-number }}
run: |
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/release-firefox-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,15 @@ jobs:
uses: peter-evans/create-pull-request@main
with:
token: ${{ secrets.SELENIUM_CI_TOKEN }}
commit-message: "[ci] Upload CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} version with Grid ${{ env.GRID_VERSION }}"
title: "[ci] Upload CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} version with Grid ${{ env.GRID_VERSION }}"
body: "This PR contains the CHANGELOG for Node/Standalone Firefox with specific browser versions: ${{ github.event.inputs.browser-versions }}"
commit-message: |
[ci] Upload CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} version with Grid ${{ env.GRID_VERSION }}
Browser versions: ${{ github.event.inputs.browser-versions }}
title: "[ci] CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} browser versions with Grid ${{ env.GRID_VERSION }}"
body: "This PR contains the CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} with specific browser versions: ${{ github.event.inputs.browser-versions }}"
committer: 'Selenium CI Bot <[email protected]>'
author: 'Selenium CI Bot <[email protected]>'
branch: browser-node-changelog
branch: browser-node-${{ env.BROWSER_NAME }}-changelog
- name: Check outputs
if: ${{ steps.cpr.outputs.pull-request-number }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion update_tag_in_docs_and_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ find . \( -type d -name .git -prune \) -o -type f ! -name 'CHANGELOG.md' -print0
find . \( -type d -name .git -prune \) -o -type f ! -name 'CHANGELOG.md' -print0 | xargs -0 sed -i "s/${KEDA_TAG_PREV_VERSION}/${KEDA_TAG_VERSION}/g"

# If you want to test this locally and you are using macOS, do `brew install gnu-sed` and change `sed` for `gsed`.
find . \( -type d -name .git -prune \) -o -type f ! -name 'CHANGELOG.md' -print0 | xargs -0 sed -i "s/${LATEST_TAG}/${NEXT_TAG}/g"
find . \( -type d -name .git -prune -o -type d -name 'CHANGELOG' -prune \) -o -type f ! -name 'CHANGELOG.md' -print0 | xargs -0 sed -i "s/${LATEST_TAG}/${NEXT_TAG}/g"

if [[ "$NEXT_TAG" == "latest" ]] || [[ "$NEXT_TAG" == "nightly" ]]; then
# If you want to test this locally and you are using macOS, do `brew install gnu-sed` and change `sed` for `gsed`.
Expand Down

0 comments on commit a496fc8

Please sign in to comment.