Skip to content

Commit 1263d86

Browse files
committed
ci(MODULES-11557): 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 c34311e commit 1263d86

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,14 @@ jobs:
5555
env:
5656
PUPPET_GEM_VERSION: '~> 7.24'
5757
FACTER_GEM_VERSION: 'https://github.com/puppetlabs/facter#main'
58+
TWINGATE_PUBLIC_REPO_KEY: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }}
5859

5960
steps:
61+
- name: "Install Twingate"
62+
uses: "twingate/github-action@v1"
63+
with:
64+
service-key: ${{ env.TWINGATE_PUBLIC_REPO_KEY }}
65+
6066
- name: Checkout Source
6167
uses: actions/checkout@v3
6268

.github/workflows/nightly.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ jobs:
5656
FACTER_GEM_VERSION: 'https://github.com/puppetlabs/facter#main'
5757

5858
steps:
59+
- name: "Install Twingate"
60+
uses: "twingate/github-action@v1"
61+
with:
62+
service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }}
63+
5964
- name: Checkout Source
6065
uses: actions/checkout@v3
6166

0 commit comments

Comments
 (0)