Skip to content

Commit 0958781

Browse files
committed
ci(CAT-2275): add Twingate setup step to GitHub Actions workflow
Adds the Twingate installation step in `.github/workflows/...` using `twingate/github-action@v1`. The action uses the `${{ secrets.TWINGATE_KEY }}` to establish secure access to internal resources. This enables the workflow to access protected infrastructure during CI runs.
1 parent 4dee504 commit 0958781

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/module_acceptance.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ on:
2323
default: false
2424
type: boolean
2525

26-
2726
# ENABLE PUPPETCORE. The calling workflow must:
2827
# - Set a valid PUPPET_FORGE_TOKEN secret on its repository.
2928
env:
@@ -75,8 +74,13 @@ jobs:
7574
BUNDLE_WITHOUT: release_prep
7675
PUPPET_GEM_VERSION: '~> 8.9'
7776
FACTER_GEM_VERSION: 'https://github.com/puppetlabs/facter#main' # why is this set?
77+
TWINGATE_PUBLIC_REPO_KEY: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }}
7878

7979
steps:
80+
- name: "Install Twingate"
81+
uses: "twingate/github-action@v1"
82+
with:
83+
service-key: ${{ env.TWINGATE_PUBLIC_REPO_KEY }}
8084

8185
- name: "Checkout"
8286
uses: "actions/checkout@v4"

0 commit comments

Comments
 (0)