From 4b002441bd599e0210752abd37877c410f21e496 Mon Sep 17 00:00:00 2001 From: Maqsood Ahmad Date: Mon, 7 Jul 2025 21:36:59 +0530 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 5 +++++ .github/workflows/nightly.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d1405c5..817353ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,6 +64,11 @@ jobs: FACTER_GEM_VERSION: 'https://github.com/puppetlabs/facter#main' steps: + - name: "Install Twingate" + uses: "twingate/github-action@v1" + with: + service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }} + - name: Checkout uses: actions/checkout@v3 with: diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index b23a0087..64a5e662 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -62,6 +62,11 @@ jobs: FACTER_GEM_VERSION: 'https://github.com/puppetlabs/facter#main' steps: + - name: "Install Twingate" + uses: "twingate/github-action@v1" + with: + service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }} + - name: Checkout uses: actions/checkout@v3 with: