Skip to content

Commit 5b960a3

Browse files
committed
Mark builds from branches as ignored
1 parent 567010f commit 5b960a3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/custopize.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,11 @@ jobs:
172172
<!-- mark:untested -->
173173
EOF
174174
175+
[ "$GITHUB_REF_NAME" != "main" ] && cat <<EOF >> ./build/release.md
176+
177+
<!-- mark:ignored -->
178+
EOF
179+
175180
- name: "🏗 Run CustoPiZer"
176181
uses: OctoPrint/CustoPiZer@main
177182
with:
@@ -249,6 +254,7 @@ jobs:
249254
runs-on: ubuntu-latest
250255
needs: [build, test]
251256
environment: live
257+
if: github.ref_name == "main"
252258
steps:
253259

254260
- uses: actions/github-script@v6

0 commit comments

Comments
 (0)