diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c38d0f7f4..86b57433f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: ci on: push: - branches: ["main"] + branches: ["0.4.x"] pull_request: - branches: ["main"] + branches: ["0.4.x"] jobs: build_and_test: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index fb5aa7705..672aacf12 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -13,9 +13,9 @@ name: "CodeQL" on: push: - branches: [ "main" ] + branches: [ "0.4.x" ] pull_request: - branches: [ "main" ] + branches: [ "0.4.x" ] schedule: - cron: '25 1 * * 0' diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 4473cabbb..12201a075 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -2,9 +2,9 @@ name: coverage on: push: - branches: ["main"] + branches: ["0.4.x"] pull_request: - branches: ["main"] + branches: ["0.4.x"] jobs: coverage: @@ -36,9 +36,9 @@ jobs: license: ${{ secrets.REPORT_GENERATOR_LICENSE }} - name: Sync Coverage Report to S3 - run: aws s3 sync ./coveragereport s3://${{ secrets.AWS_S3_BUCKET }}/csharp/main/coverage --delete + run: aws s3 sync ./coveragereport s3://${{ secrets.AWS_S3_BUCKET }}/csharp/0.4.x/coverage --delete env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: us-east-1 - if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' + if: github.ref == 'refs/heads/0.4.x' && github.event_name != 'pull_request' diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c97b5f485..f855da070 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -2,9 +2,9 @@ name: docs on: push: - branches: ["main"] + branches: ["0.4.x"] pull_request: - branches: ["main"] + branches: ["0.4.x"] jobs: docfx: @@ -23,9 +23,9 @@ jobs: ./build.sh --doc - name: Sync to S3 - run: aws s3 sync ./docfx/_site s3://${{ secrets.AWS_S3_BUCKET }}/csharp/main/api --delete + run: aws s3 sync ./docfx/_site s3://${{ secrets.AWS_S3_BUCKET }}/csharp/0.4.x/api --delete env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: us-east-1 - if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' + if: github.ref == 'refs/heads/0.4.x' && github.event_name != 'pull_request' diff --git a/.github/workflows/rustfmt.yml b/.github/workflows/rustfmt.yml index 7fec74a48..cccfc3e25 100644 --- a/.github/workflows/rustfmt.yml +++ b/.github/workflows/rustfmt.yml @@ -2,9 +2,9 @@ name: rustfmt on: push: - branches: ["main"] + branches: ["0.4.x"] pull_request: - branches: ["main"] + branches: ["0.4.x"] jobs: rustfmt: diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index 92993c0e8..5b887f933 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -2,9 +2,9 @@ name: "Check spelling" on: push: - branches: ["main"] + branches: ["0.4.x"] pull_request: - branches: ["main"] + branches: ["0.4.x"] jobs: spellcheck: