Extract Timelines #2901
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Grab cactbot timelines, make a pull request automatically | |
name: Extract Timelines | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '06 */6 * * *' | |
jobs: | |
timelines: | |
runs-on: self-hosted | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: master | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
cache: maven | |
- name: Build with Maven | |
run: mvn test -Pmaketimelines -Dmake-timelines.use-driver-helper=false | |
- name: Create Pull Request | |
uses: peter-evans/[email protected] | |
with: | |
commit-message: 'Automatic timeline update' | |
branch: timeline-auto-update | |
title: 'Automatic Timeline Update' | |
body: 'Automatic extraction of Cactbot timelines' | |
delete-branch: true |