Skip to content

Update dependencies and reseed #1894

Update dependencies and reseed

Update dependencies and reseed #1894

name: Update dependencies and reseed
on:
workflow_dispatch:
schedule:
- cron: "0 */12 * * *"
jobs:
update_and_reseed:
runs-on: ubuntu-latest
name: Update dependencies and reseed
outputs:
changes_detected: ${{ steps.auto_commit.outputs.changes_detected == 'true' }}
steps:
- uses: actions/checkout@v2
- run: make update_and_reseed
- run: make test
- uses: stefanzweifel/git-auto-commit-action@v4
id: auto_commit
with:
commit_user_name: shinybrad
commit_user_email: [email protected]
commit_author: shinybrad <[email protected]>
- name: Bump version and push tag
if: steps.auto_commit.outputs.changes_detected == 'true'
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Create a GitHub release
if: steps.auto_commit.outputs.changes_detected == 'true'
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}