Skip to content

Commit da891d0

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 c741766 commit da891d0

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,15 @@ jobs:
1818
fail-fast: false
1919
matrix: {'platform':['rhel-8', 'debian-11'],'collection':['puppet7-nightly', 'puppet8-nightly']}
2020

21+
env:
22+
TWINGATE_PUBLIC_REPO_KEY: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }}
23+
2124
steps:
25+
- name: "Install Twingate"
26+
uses: "twingate/github-action@v1"
27+
with:
28+
service-key: ${{ env.TWINGATE_PUBLIC_REPO_KEY }}
29+
2230
- name: Checkout Source
2331
uses: actions/checkout@v3
2432

.github/workflows/nightly.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,15 @@ jobs:
1616
fail-fast: false
1717
matrix: {'platform':['rhel-8', 'debian-11'],'collection':['puppet7-nightly', 'puppet8-nightly']}
1818

19+
env:
20+
TWINGATE_PUBLIC_REPO_KEY: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }}
21+
1922
steps:
23+
- name: "Install Twingate"
24+
uses: "twingate/github-action@v1"
25+
with:
26+
service-key: ${{ env.TWINGATE_PUBLIC_REPO_KEY }}
27+
2028
- name: Checkout Source
2129
uses: actions/checkout@v3
2230

0 commit comments

Comments
 (0)