Skip to content

Commit

Permalink
Add GHA runner
Browse files Browse the repository at this point in the history
  • Loading branch information
magicus committed Apr 8, 2024
1 parent 2b401fd commit fe66311
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/update_dialogues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Github actions runner will run this script on a schedule

name: Update Dialogues from Voices of Wynn
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # Runs at midnight

jobs:
update-labels:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]

- name: Update Dialogues from Voices of Wynn
run: |
./Generators/update_voices_dialogues.sh
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
token: ${{ secrets.PRIVATE_TOKEN }}
labels: auto-generated
committer: 'WynntilsBot <[email protected]>'
author: 'WynntilsBot <[email protected]>'
commit-message: "chore: [auto-generated] Update dialogues from Voices of Wynn"
title: "chore: [auto-generated] Update dialogues from Voices of Wynn"
body: |
The Voices of Wynn repository has been updated with new dialogue data.
This PR has been automatically generated.
branch: update-dialogues

0 comments on commit fe66311

Please sign in to comment.