Skip to content
This repository has been archived by the owner on Nov 17, 2024. It is now read-only.

Update ArtifactRatingData Assets #180

Update ArtifactRatingData Assets

Update ArtifactRatingData Assets #180

name: Update ArtifactRatingData Assets
on:
workflow_dispatch: {}
schedule:
- cron: '0 12 * * *'
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Fetch latest commit SHA
id: latest_sha
run: echo "::set-output name=sha::$(git ls-remote https://github.com/EnkaNetwork/API-docs.git HEAD | cut -f1)"
- name: Run update asset meta script
id: compare_shas
run: |
/usr/bin/bash -e ./Script/UpdateArtifactRatingData.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: update-enka-asset-${{ github.run_number }}
base: dev
title: "Update ArtifactRatingData Assets"
body: |
This PR updates the ArtifactRatingData JSON.
delete-branch: true
assignees: ShikiSuen
reviewers: CanglongCl
team-reviewers: |
owners
maintainers