Skip to content

Commit

Permalink
Merge pull request #42 from yohane-su/fix-plan-workflow
Browse files Browse the repository at this point in the history
terraform planのCIの修正
  • Loading branch information
sksat authored Dec 29, 2021
2 parents 20590a8 + cd87608 commit 91f6ba4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/terraform-plan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,19 @@ on:
- '.github/workflows/terraform-plan.yml'
- 'terraform/**'

permissions:
contents: read
pull-requests: write

jobs:
terraform_plan:
if: contains(github.event.pull_request.labels.*.name, 'ok to plan')
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
ref: "refs/pull/${{ github.event.number }}/merge"

- uses: hashicorp/[email protected]
with:
Expand Down

0 comments on commit 91f6ba4

Please sign in to comment.