mirror of
https://github.com/Nostalgica-Reverie/Content-Monorepo.git
synced 2026-05-12 01:31:58 +00:00
34 lines
673 B
YAML
34 lines
673 B
YAML
name: Auto Update
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
|
|
jobs:
|
|
auto-update:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
token: ${{ secrets.GH_PAT }}
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: 'stable'
|
|
cache: false
|
|
|
|
- name: Install Packwiz
|
|
run: go install github.com/packwiz/packwiz@latest
|
|
|
|
- name: Update
|
|
run: |
|
|
sudo chmod +x update-all.sh
|
|
./update-all.sh
|
|
|
|
- name: Commit Updates
|
|
uses: EndBug/add-and-commit@v9.1.4
|
|
with:
|
|
default_author: github_actions |