From 7b13fa22dddbdec3af9ecc617a677923c4cd0706 Mon Sep 17 00:00:00 2001 From: Obelous <47227283+0belous@users.noreply.github.com> Date: Tue, 24 Jun 2025 19:09:46 +0100 Subject: [PATCH] Make workflow push back changes --- .github/workflows/update.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 6bf5b10..7acb4bc 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -1,3 +1,5 @@ +name: Manifest updater + on: push: branches: [ main ] @@ -7,6 +9,8 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -14,3 +18,9 @@ jobs: node-version: '20' cache: 'npm' - run: node update.js + - run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + git add manifest.json + git commit -m "Generate manifest.json" || exit 0 + git push \ No newline at end of file