diff --git a/.github/workflows/mirror-selenium-releases.yml b/.github/workflows/mirror-selenium-releases.yml index 57a1970362b3f..0eda3837448e6 100644 --- a/.github/workflows/mirror-selenium-releases.yml +++ b/.github/workflows/mirror-selenium-releases.yml @@ -19,8 +19,6 @@ jobs: cd common/mirror export JQ_FILTER="[.[] | {tag_name: .tag_name, assets: [.assets[] | {browser_download_url: .browser_download_url} ] } ]" curl -H "Authorization: ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/SeleniumHQ/selenium/releases | jq "$JQ_FILTER" > selenium - - name: Set current date - run: echo "DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV - name: Commit files id: git run: | @@ -29,26 +27,12 @@ jobs: git config --local user.email "selenium-ci@users.noreply.github.com" git config --local user.name "Selenium CI Bot" git add common/mirror/selenium - git commit -m "Update mirror info (${{ env.DATE }})" -a + git commit -m "Update mirror info (`date`)" -a echo "::set-output name=commit::true" fi - - name: Create PR + - name: Push changes if: steps.git.outputs.commit == 'true' - uses: peter-evans/create-pull-request@v6 + uses: ad-m/github-push-action@master with: - token: ${{ secrets.GITHUB_TOKEN }} - commit-message: "Update mirror info (${{ env.DATE }})" - title: "[ci] Update mirror info (${{ env.DATE }})" - body: | - Automated update of `common/mirror/selenium`. - - Trigger: ${{ github.event_name }} - - Committer: Selenium CI Bot - branch: ci/mirror-selenium-releases - base: trunk - labels: ci, automated - delete-branch: true - signoff: false - reviewers: | - bonigarcia - add-paths: | - common/mirror/selenium \ No newline at end of file + github_token: ${{ secrets.SELENIUM_CI_TOKEN }} + branch: ${{ github.ref }} diff --git a/common/mirror/selenium b/common/mirror/selenium index cc6225a24a190..c3a53463b40a5 100644 --- a/common/mirror/selenium +++ b/common/mirror/selenium @@ -669,5 +669,57 @@ "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.12.0/selenium-server-4.12.1.zip" } ] + }, + { + "tag_name": "selenium-4.11.0", + "assets": [ + { + "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/IEDriverServer_Win32_4.11.0.zip" + }, + { + "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/IEDriverServer_x64_4.11.0.zip" + }, + { + "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/selenium-dotnet-4.11.0.zip" + }, + { + "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/selenium-dotnet-strongnamed-4.11.0.zip" + }, + { + "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/selenium-java-4.11.0.zip" + }, + { + "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/selenium-server-4.11.0.jar" + }, + { + "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.11.0/selenium-server-4.11.0.zip" + } + ] + }, + { + "tag_name": "selenium-4.10.0", + "assets": [ + { + "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/IEDriverServer_Win32_4.10.0.zip" + }, + { + "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/IEDriverServer_x64_4.10.0.zip" + }, + { + "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/selenium-dotnet-4.10.0.zip" + }, + { + "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/selenium-dotnet-strongnamed-4.10.0.zip" + }, + { + "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/selenium-java-4.10.0.zip" + }, + { + "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/selenium-server-4.10.0.jar" + }, + { + "browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.10.0/selenium-server-4.10.0.zip" + } + ] } ]