blob: 03c3df4bbbd8f47a0d4863f73cba891989c3d433 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
name: Update mods
on:
schedule:
# run daily at 0:00 utc
- cron: "0 0 * * *"
workflow_dispatch:
permissions:
contents: write
jobs:
update-mods:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v20
- name: update
run: |
echo "y" | nix run nixpkgs#packwiz -- update --all
- name: commit changes
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: "chore: update mods"
|