-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from truenas/skip-gh-action
NAS-129730 / 24.10 / Do not trigger update catalog action for commits created by action
- Loading branch information
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [email protected] | ||
commit_author: sonicaj <[email protected]> | ||
|
@@ -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]> |