mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-02 17:13:58 +00:00
process templates fix
This commit is contained in:
10
.github/workflows/process-templates.yaml
vendored
10
.github/workflows/process-templates.yaml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
node-version: 22
|
node-version: 22
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
yarn install
|
yarn add js-yaml lodash
|
||||||
- name: Run workflow generation
|
- name: Run workflow generation
|
||||||
run: |
|
run: |
|
||||||
yarn workflows
|
yarn workflows
|
||||||
@@ -35,10 +35,12 @@ jobs:
|
|||||||
# Only commit if there are changes
|
# Only commit if there are changes
|
||||||
if [[ -n "$(git status --porcelain)" ]]; then
|
if [[ -n "$(git status --porcelain)" ]]; then
|
||||||
git add .
|
git add .
|
||||||
git commit -m "chore: auto-update workflows"
|
git commit -m "chore: auto-update github workflows"
|
||||||
else
|
else
|
||||||
echo "No changes to commit"
|
echo "No changes to commit"
|
||||||
fi
|
fi
|
||||||
- name: Push changes
|
- name: Push changes
|
||||||
run: |
|
uses: ad-m/github-push-action@v0.6.0
|
||||||
git push origin master
|
with:
|
||||||
|
github_token: '${{ secrets.DIFLOW_GIT_SECRET }}'
|
||||||
|
branch: master
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
yarn install
|
yarn add js-yaml lodash
|
||||||
|
|
||||||
- name: Run workflow generation
|
- name: Run workflow generation
|
||||||
run: |
|
run: |
|
||||||
@@ -46,5 +46,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Push changes
|
- name: Push changes
|
||||||
run: |
|
uses: ad-m/github-push-action@v0.6.0
|
||||||
git push origin master
|
with:
|
||||||
|
github_token: ${{ secrets.DIFLOW_GIT_SECRET }}
|
||||||
|
branch: master
|
||||||
|
|||||||
Reference in New Issue
Block a user