From 0f18e248e6eda819f72938a487abece6aa82baeb Mon Sep 17 00:00:00 2001 From: Sebastiaan de Schaetzen Date: Wed, 23 Apr 2025 11:13:19 +0200 Subject: [PATCH] Add workflow to update from AUR --- .gitea/workflows/update.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/update.yml diff --git a/.gitea/workflows/update.yml b/.gitea/workflows/update.yml new file mode 100644 index 0000000..e40c139 --- /dev/null +++ b/.gitea/workflows/update.yml @@ -0,0 +1,24 @@ +name: Update from AUR +on: + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-standard + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Add AUR repository + run: git remote add aur https://aur.archlinux.org/yay.git + + - name: Fetch AUR + run: git fetch aur + + - name: Rebase current changes + run: git rebase aur/master + + - name: Push changes (if any) + run: git push origin master