Skip to content

Commit 7581e5a

Browse files
committed
ci: conditional nuts
1 parent 4509a4d commit 7581e5a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,12 @@ jobs:
1717
fail-fast: false
1818
with:
1919
os: ${{ matrix.os }}
20+
# conditional nuts based on commit message includes a certain string
21+
sandbox-nuts:
22+
needs: [nuts, unit-tests]
23+
if: contains(github.event.push.head_commit.message,'[sb-nuts]')
24+
uses: salesforcecli/github-workflows/.github/workflows/nut.yml@main
25+
secrets: inherit
26+
with:
27+
command: test:nuts:sandbox
28+
os: ubuntu-latest

0 commit comments

Comments
 (0)