aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/yae.yaml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-11 03:20:05 -0700
committerFuwn <[email protected]>2024-10-11 03:28:52 -0700
commitfbedc4e40afb74d668243444516a8fe70df672ec (patch)
tree7e7c985011e8a8ace1c122df81fcdc12615afb60 /.github/workflows/yae.yaml
parentfeat(flake): bump yae (diff)
downloadtsutsumi-fbedc4e40afb74d668243444516a8fe70df672ec.tar.xz
tsutsumi-fbedc4e40afb74d668243444516a8fe70df672ec.zip
ci(actions): yae update action
Diffstat (limited to '.github/workflows/yae.yaml')
-rw-r--r--.github/workflows/yae.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/yae.yaml b/.github/workflows/yae.yaml
new file mode 100644
index 0000000..d16800a
--- /dev/null
+++ b/.github/workflows/yae.yaml
@@ -0,0 +1,24 @@
+---
+name: Yae Update
+on:
+ workflow_dispatch:
+ schedule:
+ - cron: 0 * * * *
+jobs:
+ update:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: DeterminateSystems/nix-installer-action@main
+ - name: Install Yae
+ run: nix --accept-flake-config profile install "github:Fuwn/yae"
+ - name: Yae Update
+ id: yae_update
+ run: yae update --show-updated-only | tee yae_update_output.txt
+ - name: Commit and Push Changes
+ run: |-
+ git config --global user.name 'github-actions[bot]'
+ git config --global user.email 'github-actions[bot]@users.noreply.github.com'
+ git add .
+ git diff-index --quiet HEAD || git commit -m "feat(pkgs): yae says bump $(cat yae_update_output.txt | tr '\n' ',' | sed 's/,/, /g' | sed 's/, $//')"
+ git push