-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (29 loc) · 1001 Bytes
/
data-update.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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