Skip to content

Commit 8fa218e

Browse files
committed
change CI to **not** push to main when buildpdf fails
reason: buildpdf checks the commented code initialize example we want this to pass before pushing to main otherwise that code initializion example will be wrong
1 parent e57d6ee commit 8fa218e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/programming_team_code_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121

122122
update_main:
123123
runs-on: ubuntu-latest
124-
needs: [library_checker_aizu, grep_clangformat_cppcheck, clangtidy, compile_gcc, compile_clang, find_files_without_tests]
124+
needs: [library_checker_aizu, grep_clangformat_cppcheck, clangtidy, compile_gcc, compile_clang, find_files_without_tests, build_pdf]
125125
if: github.ref == 'refs/heads/dev' && github.event_name == 'push'
126126
steps:
127127
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)