Skip to content

Get APRL checklists #12

Get APRL checklists

Get APRL checklists #12

Workflow file for this run

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 }}