diff --git a/.github/workflows/git_sync.yaml b/.github/workflows/git_sync.yaml index 9cda212..a3ae1ff 100644 --- a/.github/workflows/git_sync.yaml +++ b/.github/workflows/git_sync.yaml @@ -6,10 +6,6 @@ on: - opened - reopened -permissions: - contents: write - pull-requests: write - env: AWS_REGION: ap-northeast-1 GITHUB_MAIL: 41898282+github-actions[bot]@users.noreply.github.com @@ -19,13 +15,13 @@ jobs: publish: permissions: id-token: write - contents: read + contents: write + pull-requests: write runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 with: - token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} ref: ${{ github.event.pull_request.head.ref }} - name: Get temporary credentials with OIDC @@ -80,7 +76,8 @@ jobs: #### cdk diff
Show diff - ` ` `bash + ```bash + ${{ steps.output_log.outputs.data }} - ` ` ` + ```
diff --git a/lib/cdk_git_sync-stack.ts b/lib/cdk_git_sync-stack.ts index 42308ec..af63a8a 100644 --- a/lib/cdk_git_sync-stack.ts +++ b/lib/cdk_git_sync-stack.ts @@ -12,6 +12,11 @@ export class CdkGitSyncStack extends cdk.Stack { visibilityTimeout: cdk.Duration.seconds(300) }); + // 追加 + const newQueue = new sqs.Queue(this, 'CdkGitTestNewQueue', { + visibilityTimeout: cdk.Duration.seconds(300) + }); + // Lambda functionを追加 new lambda.Function(this, 'LambdaFunction', { runtime: lambda.Runtime.PYTHON_3_11,