watch #1615
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: watch | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
azure_docs: | |
name: azure-docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Calculate diff | |
run: | | |
curl https://raw.githubusercontent.com/MicrosoftDocs/azure-docs/main/articles/virtual-machines/sizes/overview.md --output .github/snapshots/size.md | |
- name: Create PR | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
branch: azure-docs | |
title: 🤖 MicrosoftDocs/azure-docs changes | |
commit-message: | | |
Manually edit https://github.com/terraform-linters/tflint-ruleset-azurerm/edit/azure-docs/rules/utils.go | |
based on https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/virtual-machines/sizes/overview.md | |
delete-branch: true |