Get the-aks-checklist #4
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 the-aks-checklist - Triggered | |
on: | |
schedule: | |
- cron: '0 0 * * 0' # every Sunday at midnight | |
workflow_dispatch: | |
jobs: | |
get-theakschecklist: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout code | |
- name: Checkout local repo | |
uses: actions/checkout@main | |
# Get the AKS checklist | |
- name: Retrieve the AKS checklist | |
uses: ./.github/actions/get_the_aks_checklist | |
with: | |
output_file: './checklists/theaks_checklist.en.json' | |
checklist_file: './checklists/aks_checklist.en.json' | |
verbose: 'true' | |
# Create a PR | |
- name: Create pull request | |
uses: peter-evans/create-pull-request@v3.10.1 | |
with: | |
title: 'Retrieving latest version of the AKS checklist' | |
body: 'This PR is to retrieve the latest version of the-AKS-checklist.' | |
token: ${{ secrets.WORKFLOW_PAT }} |