Skip to content

check-for-updates

check-for-updates #394

name: "check-for-updates"
on:
workflow_dispatch:
schedule:
- cron: '22 11 * * *'
jobs:
check_version:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/[email protected]
- name: Run the script which checks for new versions
run: bash .github/update_checker.sh >> $GITHUB_ENV
- name: Create an authorization token for the pull request step
uses: tibdex/[email protected]
id: generate-token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
token: ${{ steps.generate-token.outputs.token }}
commit-message: ${{ env.COMMIT_MESSAGE }}
committer: Jonas Alfredsson <[email protected]>
delete-branch: true
title: ${{ env.COMMIT_MESSAGE }}
body: Auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request).