Skip to content

Commit bdb33cf

Browse files
authored
[ci] Revert latest changes related to the mirror workflow (#16580)
* Revert "[ci] Update mirror info (2025-11-11T15:26:46Z) (#16578)" This reverts commit 2b5da89. * Revert "[ci] Make a PR for updating mirror file instead of pushing directly to trunk (#16579)" This reverts commit 0e75082.
1 parent 2b5da89 commit bdb33cf

File tree

2 files changed

+57
-21
lines changed

2 files changed

+57
-21
lines changed

.github/workflows/mirror-selenium-releases.yml

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ jobs:
1919
cd common/mirror
2020
export JQ_FILTER="[.[] | {tag_name: .tag_name, assets: [.assets[] | {browser_download_url: .browser_download_url} ] } ]"
2121
curl -H "Authorization: ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/SeleniumHQ/selenium/releases | jq "$JQ_FILTER" > selenium
22-
- name: Set current date
23-
run: echo "DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV
2422
- name: Commit files
2523
id: git
2624
run: |
@@ -29,26 +27,12 @@ jobs:
2927
git config --local user.email "selenium-ci@users.noreply.github.com"
3028
git config --local user.name "Selenium CI Bot"
3129
git add common/mirror/selenium
32-
git commit -m "Update mirror info (${{ env.DATE }})" -a
30+
git commit -m "Update mirror info (`date`)" -a
3331
echo "::set-output name=commit::true"
3432
fi
35-
- name: Create PR
33+
- name: Push changes
3634
if: steps.git.outputs.commit == 'true'
37-
uses: peter-evans/create-pull-request@v6
35+
uses: ad-m/github-push-action@master
3836
with:
39-
token: ${{ secrets.GITHUB_TOKEN }}
40-
commit-message: "Update mirror info (${{ env.DATE }})"
41-
title: "[ci] Update mirror info (${{ env.DATE }})"
42-
body: |
43-
Automated update of `common/mirror/selenium`.
44-
- Trigger: ${{ github.event_name }}
45-
- Committer: Selenium CI Bot
46-
branch: ci/mirror-selenium-releases
47-
base: trunk
48-
labels: ci, automated
49-
delete-branch: true
50-
signoff: false
51-
reviewers: |
52-
bonigarcia
53-
add-paths: |
54-
common/mirror/selenium
37+
github_token: ${{ secrets.SELENIUM_CI_TOKEN }}
38+
branch: ${{ github.ref }}

common/mirror/selenium

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -669,5 +669,57 @@
669669
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.12.0/selenium-server-4.12.1.zip"
670670
}
671671
]
672+
},
673+
{
674+
"tag_name": "selenium-4.11.0",
675+
"assets": [
676+
{
677+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/IEDriverServer_Win32_4.11.0.zip"
678+
},
679+
{
680+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/IEDriverServer_x64_4.11.0.zip"
681+
},
682+
{
683+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/selenium-dotnet-4.11.0.zip"
684+
},
685+
{
686+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/selenium-dotnet-strongnamed-4.11.0.zip"
687+
},
688+
{
689+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/selenium-java-4.11.0.zip"
690+
},
691+
{
692+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/selenium-server-4.11.0.jar"
693+
},
694+
{
695+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/selenium-server-4.11.0.zip"
696+
}
697+
]
698+
},
699+
{
700+
"tag_name": "selenium-4.10.0",
701+
"assets": [
702+
{
703+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/IEDriverServer_Win32_4.10.0.zip"
704+
},
705+
{
706+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/IEDriverServer_x64_4.10.0.zip"
707+
},
708+
{
709+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/selenium-dotnet-4.10.0.zip"
710+
},
711+
{
712+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/selenium-dotnet-strongnamed-4.10.0.zip"
713+
},
714+
{
715+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/selenium-java-4.10.0.zip"
716+
},
717+
{
718+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/selenium-server-4.10.0.jar"
719+
},
720+
{
721+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/selenium-server-4.10.0.zip"
722+
}
723+
]
672724
}
673725
]

0 commit comments

Comments
 (0)