From 2525689cf7bcac1b539bc6571c2098ed2def16b9 Mon Sep 17 00:00:00 2001 From: Jochem Date: Fri, 5 Jul 2024 14:07:31 +0200 Subject: [PATCH] Test action --- .github/scripts/appversion.sh | 0 .github/workflows/renovate/set-appversion.yml | 30 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .github/scripts/appversion.sh create mode 100644 .github/workflows/renovate/set-appversion.yml diff --git a/.github/scripts/appversion.sh b/.github/scripts/appversion.sh new file mode 100644 index 0000000..e69de29 diff --git a/.github/workflows/renovate/set-appversion.yml b/.github/workflows/renovate/set-appversion.yml new file mode 100644 index 0000000..1d38bfa --- /dev/null +++ b/.github/workflows/renovate/set-appversion.yml @@ -0,0 +1,30 @@ +name: Updste LibreNMS appVersion + +on: + push: + branches: + - renovate/* + +jobs: + set-appverions: + runs-on: ubuntu:24.04 + + permissions: + # Give the default GITHUB_TOKEN write permission to commit and push the + # added or changed files to the repository. + contents: write + + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} + + - name: Install YQ + run: | + sudo add-apt-repository ppa:rmescandon/yq + sudo apt update + sudo apt install yq -y + + + # Commit all changed files back to the repository + - uses: stefanzweifel/git-auto-commit-action@v5 \ No newline at end of file