Files
Content-Monorepo/.forgejo/workflows/wf-auto-update.yml

40 lines
925 B
YAML

name: Auto Update
on:
workflow_dispatch:
schedule:
- cron: "0 */6 * * *"
jobs:
auto-update:
runs-on: technocality
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.FORGEJO_TOKEN }}
- 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: Install Packwiz Wrapper
run: go install github.com/Merith-TK/packwiz-wrapper/cmd/pw@main
- name: Update
run: |
chmod +x update-all.sh
./update-all.sh
- name: Commit Updates
uses: https://github.com/EndBug/add-and-commit@v9.1.4
with:
author_name: forgejo-actions[bot]
author_email: omo50@noreply.nostalgica.net
message: 'Forgejo Actions (${{forgejo.workflow}})'