Merge pull request #32 from truenas/skip-gh-action

NAS-129730 / 24.10 / Do not trigger update catalog action for commits created by action
This commit is contained in:
sonicaj
2024-06-25 15:48:06 +05:00
committed by GitHub

View File

@@ -7,7 +7,8 @@ on:
workflow_dispatch:
jobs:
validate:
publish_catalog:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
container:
@@ -26,7 +27,7 @@ jobs:
/bin/bash -c "PWD=${pwd}; /usr/local/bin/apps_catalog_update publish --path $PWD"
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Publish new changes in catalog
commit_message: "Publish new changes in catalog [skip ci]"
commit_user_name: sonicaj
commit_user_email: waqarsonic1@gmail.com
commit_author: sonicaj <waqarsonic1@gmail.com>
@@ -35,7 +36,7 @@ jobs:
/bin/bash -c "PWD=${pwd}; /usr/local/bin/apps_catalog_update update --path $PWD"
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update catalog changes
commit_message: "Update catalog changes [skip ci]"
commit_user_name: sonicaj
commit_user_email: waqarsonic1@gmail.com
commit_author: sonicaj <waqarsonic1@gmail.com>