process templates fix

This commit is contained in:
SPRINX0\prochazka
2025-02-25 11:00:31 +01:00
parent 10b1644d8d
commit 58c318b5cf
2 changed files with 11 additions and 7 deletions

View File

@@ -22,7 +22,7 @@ jobs:
node-version: 22
- name: Install dependencies
run: |
yarn install
yarn add js-yaml lodash
- name: Run workflow generation
run: |
yarn workflows
@@ -35,10 +35,12 @@ jobs:
# Only commit if there are changes
if [[ -n "$(git status --porcelain)" ]]; then
git add .
git commit -m "chore: auto-update workflows"
git commit -m "chore: auto-update github workflows"
else
echo "No changes to commit"
fi
- name: Push changes
run: |
git push origin master
uses: ad-m/github-push-action@v0.6.0
with:
github_token: '${{ secrets.DIFLOW_GIT_SECRET }}'
branch: master

View File

@@ -24,7 +24,7 @@ jobs:
- name: Install dependencies
run: |
yarn install
yarn add js-yaml lodash
- name: Run workflow generation
run: |
@@ -46,5 +46,7 @@ jobs:
fi
- name: Push changes
run: |
git push origin master
uses: ad-m/github-push-action@v0.6.0
with:
github_token: ${{ secrets.DIFLOW_GIT_SECRET }}
branch: master