Skip to content

Test JDK 25 and Update Results #53

Test JDK 25 and Update Results

Test JDK 25 and Update Results #53

Workflow file for this run

# This workflow runs test-jdk-25.sh with a 6-hour timeout and keep-alive output.
# It is triggered manually, on push to top-250-plugins.csv, and on a schedule.
# If the script makes changes, a PR is automatically created with the "automation" label for automerge.
# The auto-merge workflow in .github/workflows/auto-merge-bot-prs.yml will handle automerge for PRs created by github-actions[bot] with this label.
name: Test JDK 25 and Update Results
on:
workflow_dispatch:
push:
paths:
- top-250-plugins.csv
schedule:
- cron: '0 0 * * 2'
permissions:
contents: write
pull-requests: write
jobs:
test-jdk-25:
runs-on: ubuntu-latest
timeout-minutes: 360
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run test-jdk-25.sh with keep-alive
run: |
(while true; do count=0; if [ -f jdk-25-build-results.csv ]; then count=$(($(wc -l < jdk-25-build-results.csv) - 1)); fi; echo "Still running... $count plugins processed so far."; sleep 300; done) &
KEEP_ALIVE_PID=$!
chmod +x ./test-jdk-25.sh
./test-jdk-25.sh
kill $KEEP_ALIVE_PID
- name: Set up Git user (repo-scoped)
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Create Pull Request if there are changes
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.CR_PAT }}
commit-message: "chore: update results from test-jdk-25.sh"
branch: test-jdk-25/update-results
title: "Update results from test-jdk-25.sh"
body: "Automated update of results from test-jdk-25.sh"
labels: automation
delete-branch: true