Skip to content

cdk deployとcdk diffを実行するCIを有効化した #9

cdk deployとcdk diffを実行するCIを有効化した

cdk deployとcdk diffを実行するCIを有効化した #9

Workflow file for this run

name: pull request
on:
pull_request:
types: [opened, reopened, review_requested, synchronize]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
id-token: write
contents: read
jobs:
# 最初にworkflowファイル全体をチェックする
check-workflows:
permissions:
contents: read
uses: ./.github/workflows/check-workflows.yml
# workflowファイル全体のチェックが終わったら、テストを実行する
test:
needs: check-workflows
permissions:
contents: read
secrets: inherit
uses: ./.github/workflows/test.yml
# cdk diffの結果をコメントする
# このリポジトリとAWS環境のOpen ID Connect等による接続が確立したらコメントを外すと良い
cdk-diff-comment:
needs: check-workflows
if: github.actor != 'dependabot[bot]'
permissions:
id-token: write
contents: write
pull-requests: write
secrets: inherit
uses: ./.github/workflows/post-cdk-diff.yml

Check failure on line 40 in .github/workflows/pull_request.yml

View workflow run for this annotation

GitHub Actions / pull request

Invalid workflow file

The workflow is not valid. In .github/workflows/pull_request.yml (Line: 40, Col: 11): Error from called workflow yutaro-sakamoto/cobol4j-aws-web/.github/workflows/post-cdk-diff.yml@d8a732beac7102348fc2063c7340086c5fe463c3 (Line: 38, Col: 9): Unexpected value 'working-directory'