Skip to content

Commit

Permalink
automating maintenance with Github actions (aws-cloudformation#1792)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatMyron authored Nov 23, 2020
1 parent 620d14e commit 10d0950
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/maintenance.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
schedule:
- cron: '*/35 * * * *'
jobs:
job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3
- run: |
pip install -e .
rm -rf src/cfnlint/data/DownloadsMetadata/*
cfn-lint --update-iam-policies
cfn-lint --update-documentation
scripts/update_specs_services_from_ssm.py
scripts/update_specs_from_pricing.py
cfn-lint --update-specs
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- uses: peter-evans/create-pull-request@v3
with:
commit-message: |
autogenerated maintenance
delete-branch: true
title: autogenerated maintenance

0 comments on commit 10d0950

Please sign in to comment.