data-update #79
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
# Fetches new data from movapp-data. Triggered externally. | |
name: Data update | |
on: | |
workflow_dispatch: | |
repository_dispatch: | |
types: | |
- data-update | |
concurrency: | |
group: movapp-apple-data-update-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
DataUpdate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: DataUpdate | |
run: ruby update-data.rb | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
token: ${{ secrets.ACTIONS_TOKEN }} | |
commit-message: "Update data to latest version (from movapp-data repository)" | |
committer: github-actions[bot] <github-actions[bot]@users.noreply.github.com> | |
author: github-actions[bot] <github-actions[bot]@users.noreply.github.com> | |
branch: data-update | |
base: main | |
delete-branch: true | |
title: "Update data to latest version (from movapp-data repository)" | |
reviewers: kubito,pionl |