From 8785c63ddf36c77e7a0652872b7b96fc6635a193 Mon Sep 17 00:00:00 2001 From: Aaron Yi Date: Fri, 25 Oct 2024 13:12:59 +0800 Subject: [PATCH] fix: remove the code review pipeline until the access right can be grant to pull request from fork --- .github/workflows/aws-genai-cicd-suite.yml | 26 ---------------------- 1 file changed, 26 deletions(-) diff --git a/.github/workflows/aws-genai-cicd-suite.yml b/.github/workflows/aws-genai-cicd-suite.yml index 8071690..b16c41b 100644 --- a/.github/workflows/aws-genai-cicd-suite.yml +++ b/.github/workflows/aws-genai-cicd-suite.yml @@ -51,29 +51,3 @@ jobs: echo "GitHub Token is not set" fi echo "AWS_ROLE_TO_ASSUME: ${{ vars.AWS_ROLE_TO_ASSUME_VAR }}" - - # assume the specified IAM role and set up the AWS credentials for use in subsequent steps. - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v4 - with: - # using repository environment variable to get the role arn - role-to-assume: ${{ vars.AWS_ROLE_TO_ASSUME_VAR }} - aws-region: us-east-1 - - - name: Intelligent GitHub Actions - uses: aws-samples/aws-genai-cicd-suite@stable - with: - # Automatic Provision: The GITHUB_TOKEN is automatically created and provided by GitHub for each workflow run. You don't need to manually create or store this token as a secret. - github-token: ${{ secrets.GITHUB_TOKEN }} - aws-region: us-east-1 - model-id: anthropic.claude-3-sonnet-20240229-v1:0 - generate-code-review: 'true' - generate-code-review-level: 'detailed' - generate-code-review-exclude-files: '*.md,*.json,*.js' - generate-pr-description: 'true' - generate-unit-test: 'false' - generate-unit-test-source-folder: 'debugging' - # Removed the invalid input 'generate-unit-test-exclude-files' - # output-language: 'zh' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file