Skip to content

Commit 75d86df

Browse files
authored
Add TFCMT_GITHUB_TOKEN to action.yml (#117)
* Add TFCMT_GITHUB_TOKEN to action.yml Added TFCMT_GITHUB_TOKEN environment variable to the action. * Enable PR comment feature in workflow * Add pull-requests permission to workflow
1 parent 8cedd94 commit 75d86df

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/test-changes-exists.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ env:
1818
permissions:
1919
id-token: write
2020
contents: read
21+
pull-requests: write
2122

2223
jobs:
2324
setup:
@@ -72,6 +73,7 @@ jobs:
7273
sha: ${{ github.sha }}
7374
atmos-config-path: ${{ runner.temp }}
7475
skip-checkout: false
76+
pr-comment: true
7577

7678
outputs:
7779
result: ${{ steps.current.outcome }}

action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,8 @@ runs:
317317
id: atmos-plan
318318
shell: bash
319319
env:
320-
ATMOS_PRO_BASE_URL: ${{ inputs.atmos-pro-base-url }}
320+
ATMOS_PRO_BASE_URL: ${{ inputs.atmos-pro-base-url }}
321+
TFCMT_GITHUB_TOKEN: ${{ inputs.token }}
321322
run: |
322323
# Verify tfcmt is installed
323324
# Since we disable exit on error, the real error will be swallowed later on

0 commit comments

Comments
 (0)