Skip to content

Commit

Permalink
Added read custom properties for terratest
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha committed Sep 27, 2024
1 parent 950d5f1 commit 6bf74f7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/shared-terraform-chatops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,13 @@ jobs:
with:
result-encoding: string
script: |
const properites = await github.rest.repos.getCustomPropertiesValues({
const properites = await github.request('GET /repos/{owner}/{repo}/properties/values', {
owner: context.repo.owner,
repo: context.repo.repo,
})
headers: {
'X-GitHub-Api-Version': '2022-11-28'
}
})
console.log(properites)
outputs:
Expand Down

0 comments on commit 6bf74f7

Please sign in to comment.