Skip to content

Collect samples CRON #368

Collect samples CRON

Collect samples CRON #368

name: Collect samples CRON
on:
schedule:
- cron: '30 18 * * 1,4' # 18:30 UTC Mon, Thu
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- repo: 'https://github.com/JetBrains/kotlin-web-site'
filter: '#tag="code" & kotlin-runnable="true" & !validate="false"'
path: 'src/test/resources/test-compile-data/jvm/kotlin-web-site'
- repo: 'https://github.com/Kotlin/kotlin-by-example'
filter: '#tag="code" & class="language-run-kotlin" & !validate="false"'
path: 'src/test/resources/test-compile-data/jvm/kotlin-by-example'
- repo: 'https://github.com/kotlin-hands-on/hands-on'
filter: '#tag="code" & class="language-run-kotlin" & !validate="false"'
path: 'src/test/resources/test-compile-data/jvm/kotlin-hands-on'
steps:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Run a verifier
uses: AlexanderPrendota/kotlin-samples-verifier@master
with:
io-event: '' #reset default behavior
repository: '${{ matrix.repo }}'
verify-branch: 'master'
push-repository: 'https://github.com/${{github.repository}}'
tag-filter: '${{ matrix.filter }}'
push-path: '${{ matrix.path }}'
username: '${{ secrets.COMPILE_SERVICE_PUSHER }}' #token with an access to create PR in push-repository