Fixed errors in Architecture doc. #943
This file contains hidden or 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
| name: cicd-feature | |
| on: | |
| push: | |
| branches: | |
| - feature/* | |
| - issue/* | |
| - bugfix/* | |
| - hotfix/* | |
| - chore/* | |
| - refactor/* | |
| - claude/* | |
| jobs: | |
| check-open-pr: | |
| name: Check open PR | |
| runs-on: ubuntu-latest | |
| outputs: | |
| open_pr_found: ${{ steps.output-pr-info.outputs.prFound }} | |
| permissions: | |
| pull-requests: read | |
| steps: | |
| # Get open (non-draft) PR info. | |
| - name: Get PR info | |
| uses: 8BitJonny/[email protected] | |
| id: PR | |
| with: | |
| filterOutClosed: true | |
| filterOutDraft: true | |
| - name: Output PR info | |
| id: output-pr-info | |
| if: steps.PR.outputs.pr_found == 'true' | |
| run: | | |
| echo "prFound: ${{ steps.PR.outputs.pr_found }}" | |
| echo "prFound=${{ steps.PR.outputs.pr_found }}" >> "$GITHUB_OUTPUT" | |
| echo "prUrl: ${{ steps.PR.outputs.pr_url }}" | |
| echo "prUrl=${{ steps.PR.outputs.pr_url }}" >> "$GITHUB_OUTPUT" | |
| build-and-test: | |
| needs: check-open-pr | |
| # Only run the build if there is no open PR found (otherwise this is handled in the PR workflow). | |
| if: ${{ needs.check-open-pr.outputs.open_pr_found != 'true' }} | |
| uses: ./.github/workflows/build-and-test.yml | |
| with: | |
| runs-on: "['ubuntu-22.04']" |