chore: Add yarn upgrader workflow

imgbot
Kieran 2023-01-05 08:02:08 +00:00
parent aa41de4734
commit 631b9d3724
3 changed files with 29 additions and 3 deletions

View File

@ -52,12 +52,10 @@
"lampadaferens",
"nukepaid",
"organising",
"Ouroboros",
"paidmember",
"robsoc",
"studentname",
"studentnumber",
"Tldr",
"usefullinks",
"welcomechannel"
]

28
.github/workflows/yarn-upgrader.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: Run Yarn Upgrader
on:
workflow_dispatch:
schedule:
- cron: '0 12 * * 0'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.2.0
- uses: actions/setup-node@v3.5.1
with:
node-version: 19.x
# Run `yarn upgrade`
- uses: browniebroke/yarn-upgrade-action@v1.1
# Open a pull request if there are any changes
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4.2.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: update/yarn-upgrade
title: Run yarn upgrade
commit-message: 'chore(deps): Run yarn upgrade'

View File

@ -69,4 +69,4 @@ While this bot is maintained by [Kieran](https://github.com/KieranRobson), contr
## License
hullcss-discord-bot is licensed under the MIT License. The full license text is included in the [LICENSE](LICENSE) file in this repository. Tldr legal have a [great summary](https://www.tldrlegal.com/l/mit) of the license if you're interested.
hullcss-discord-bot is licensed under the MIT License. The full license text is included in the [LICENSE](LICENSE) file in this repository. TLDR legal have a [great summary](https://www.tldrlegal.com/l/mit) of the license if you're interested.