mirror of
https://github.com/0belous/universal-plugin-repo.git
synced 2025-12-19 19:21:17 -03:00
Make workflow push back changes
This commit is contained in:
parent
10f077c83f
commit
7b13fa22dd
1 changed files with 10 additions and 0 deletions
10
.github/workflows/update.yml
vendored
10
.github/workflows/update.yml
vendored
|
|
@ -1,3 +1,5 @@
|
||||||
|
name: Manifest updater
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
|
@ -7,6 +9,8 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
|
|
@ -14,3 +18,9 @@ jobs:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- run: node update.js
|
- 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue