Data: Rest Api Specs - regenerating based on d2aa49a4b1edafc410257178746d78fba30f5696 #957
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 }} |