Data: Rest Api Specs - regenerating based on 34e1eb06db4ded1b66d141388f7d17e7bc428e09 #958
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Extract TF resource IDs | |
on: | |
pull_request_target: | |
paths: | |
- 'api-definitions/**' # needed until https://github.com/hashicorp/pandora/issues/3315 is implemented | |
- 'data/**' | |
types: ['opened', 'edited'] | |
jobs: | |
extract-tf-resource-ids: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 | |
with: | |
go-version: '1.21.3' | |
- name: extract TF resource ids and update PR body | |
run: | | |
cd ./tools/extract-tf-resource-ids | |
make run | |
env: | |
PR_NUMBER: ${{ github.event.number }} | |
GITHUB_TOKEN: ${{ secrets.SERVICE_ACCOUNT_PANDORA_TOKEN }} |