tflint aws plugin auto-update #2
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: tflint aws plugin auto-update | |
on: | |
# every sunday at midnight | |
schedule: | |
- cron: "0 0 * * 0" | |
# on demand | |
workflow_dispatch: | |
permissions: | |
actions: read | |
checks: read | |
contents: write #require this to write to repo | |
pull-requests: write #require this to create PR | |
jobs: | |
auto-update: | |
runs-on: | |
- self-hosted | |
- platform-eng-ent | |
steps: | |
- uses: SPHTech-Platform/gha-tflint-aws-plugin-autoupdate@main | |
name: Update tflint aws plugin automatically | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |