-
Notifications
You must be signed in to change notification settings - Fork 33
37 lines (32 loc) · 944 Bytes
/
timelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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/create-pull-request@v4.2.0
with:
commit-message: 'Automatic timeline update'
branch: timeline-auto-update
title: 'Automatic Timeline Update'
body: 'Automatic extraction of Cactbot timelines'
delete-branch: true