Update Data #137
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
name: Update Data | |
on: | |
workflow_dispatch: {} | |
schedule: | |
- cron: '0 12 * * *' | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Swift | |
uses: swift-actions/setup-swift@v2 | |
- name: Update Data | |
id: compare_shas | |
run: | | |
swift ./Update.swift | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branch: update-data-${{ github.run_number }} | |
base: main | |
title: "Update Data" | |
body: | | |
This PR updates all external data which are CI-updatable. | |
delete-branch: true | |
assignees: ShikiSuen | |
reviewers: ShikiSuen | |
team-reviewers: | | |
owners | |
maintainers |