Get APRL checklists #27
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
name: Get APRL checklists | |
on: | |
schedule: | |
- cron: '0 22 * * 0' # every Sunday at 10pm | |
workflow_dispatch: | |
jobs: | |
get-aprl: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v4 | |
# Get the APRL checklist | |
- name: Retrieve the APRL checklists | |
uses: ./.github/actions/get_aprl | |
with: | |
output_file: './checklists-ext/aprl_checklist.en.json' | |
verbose: 'true' | |
# Create a PR | |
- name: Create pull request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
title: 'Latest version of the APRL checklists retrieved' | |
labels: 'automated' | |
body: 'This PR is to retrieve the latest version of the APRL checklists.' | |
token: ${{ secrets.WORKFLOW_PAT }} |