Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/features/plan-persistence.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ Or to use a GCP bucket:
upload-plan-destination: gcp
```

## Permissions
Make sure to set `actions:write` permission in your workflow; otherwise plan storage might fail

## Plan json file naming convention

The location of plan json output file is:
Expand Down
1 change: 1 addition & 0 deletions docs/getting-started/github-actions-+-aws.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write # required to merge PRs
actions: write # required for plan persistence
id-token: write # required for workload-identity-federation
pull-requests: write # required to post PR comments
statuses: write # required to validate combined PR status
Expand Down
6 changes: 6 additions & 0 deletions docs/getting-started/github-actions-and-gcp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ jobs:
digger-job:
name: Digger
runs-on: ubuntu-latest
permissions:
contents: write # required to merge PRs
actions: write # required for plan persistence
id-token: write # required for workload-identity-federation
pull-requests: write # required to post PR comments
statuses: write # required to validate combined PR status
steps:
- uses: actions/checkout@v4
- id: 'auth'
Expand Down