Skip to content

Commit

Permalink
Merge pull request #32 from truenas/skip-gh-action
Browse files Browse the repository at this point in the history
NAS-129730 / 24.10 / Do not trigger update catalog action for commits created by action
  • Loading branch information
sonicaj authored Jun 25, 2024
2 parents a556646 + 1937f71 commit 1ac4e13
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/update_catalog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: [email protected]
commit_author: sonicaj <[email protected]>
Expand All @@ -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: [email protected]
commit_author: sonicaj <[email protected]>

0 comments on commit 1ac4e13

Please sign in to comment.