-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to use github variable to control the formatting
- Loading branch information
Showing
2 changed files
with
27 additions
and
27 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
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 |
---|---|---|
@@ -1,30 +1,30 @@ | ||
# cat .github/workflows/deploy.yml | ||
name: Check Development PRs | ||
on: | ||
# Todo: Remove the push events before merging to develop | ||
push: | ||
branches: [cicd/develop] | ||
# Todo: Add the deployment steps here when ready. Please check the pr_develop when doing so. | ||
|
||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
# Pull in the external workflows so we avoid duplication | ||
check_documentation: | ||
uses: ./.github/workflows/check_documentation.yml | ||
check_formatting: | ||
uses: ./.github/workflows/check_formatting.yml | ||
check_compilation: | ||
uses: ./.github/workflows/check_compilation.yml | ||
|
||
# Dummy job to trigger the other jobs | ||
check-develop: | ||
name: Run all checks for development PRs | ||
needs: | ||
- check_documentation | ||
- check_formatting | ||
- check_compilation | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Success | ||
run: echo "All checks passed" | ||
# name: Check Development PRs | ||
# on: | ||
# pull_request: | ||
# branches: [main] | ||
|
||
# jobs: | ||
# # Pull in the external workflows so we avoid duplication | ||
# check_documentation: | ||
# uses: ./.github/workflows/check_documentation.yml | ||
# check_formatting: | ||
# uses: ./.github/workflows/check_formatting.yml | ||
# check_compilation: | ||
# uses: ./.github/workflows/check_compilation.yml | ||
|
||
# # Dummy job to trigger the other jobs | ||
# check-develop: | ||
# name: Run all checks for development PRs | ||
# needs: | ||
# - check_documentation | ||
# - check_formatting | ||
# - check_compilation | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Success | ||
# run: echo "All checks passed" |