Skip to content

Update Recorded_Future snapshots #99

Update Recorded_Future snapshots

Update Recorded_Future snapshots #99

name: Update Recorded_Future snapshots
on:
workflow_dispatch:
schedule:
- cron: "4 12 * * SUN"
jobs:
execute:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Update snapshots
run: python3 snapshot_updater.py --integration Recorded_Future --expiration_time 7
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -m "Update Recorded_Future snapshots" -a
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}