diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 35d01cf..5392c18 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -12,12 +12,12 @@ name: "CodeQL" on: push: - branches: [ master ] + branches: [ main ] pull_request: # The branches below must be a subset of the branches above - branches: [ master ] + branches: [ main ] schedule: - - cron: '24 6 * * 5' + - cron: '24 6 * * 5' # Every Friday at 6:24AM jobs: analyze: @@ -37,7 +37,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4.1.1 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/enforce-license-compliance.yml b/.github/workflows/enforce-license-compliance.yml index 0097295..045436d 100644 --- a/.github/workflows/enforce-license-compliance.yml +++ b/.github/workflows/enforce-license-compliance.yml @@ -2,7 +2,7 @@ name: Enforce License Compliance on: pull_request: - branches: [main, master] + branches: [main] jobs: enforce-license-compliance: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b21a230..e146285 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,4 +28,20 @@ jobs: files: ./demo/coverage-test/junit.xml flags: ${{ matrix.os }} verbose: true - token: ${{ secrets.CODECOV_ORG_TOKEN }} \ No newline at end of file + token: ${{ secrets.CODECOV_ORG_TOKEN }} + - name: Upload test results to Codecov (calculator) (staging) + uses: ./ + with: + files: ./demo/calculator/junit.xml + flags: ${{ matrix.os }} + verbose: true + url: ${{ secrets.CODECOV_STAGING_URL }} + token: ${{ secrets.CODECOV_ORG_TOKEN_STAGING }} + - name: Upload test results to Codecov (demo) (staging) + uses: ./ + with: + url: ${{ secrets.CODECOV_STAGING_URL }} + token: ${{ secrets.CODECOV_ORG_TOKEN_STAGING }} + files: ./demo/coverage-test/junit.xml + flags: ${{ matrix.os }} + verbose: true \ No newline at end of file