From 92b080c80dcabf2c4a131f8add660940326b4054 Mon Sep 17 00:00:00 2001 From: Maqsood Ahmad Date: Mon, 7 Jul 2025 21:19:39 +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 146c8d8ff..1967b8505 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,6 +57,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 Source uses: actions/checkout@v3 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index c82452f94..eeb047a2b 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -56,6 +56,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 Source uses: actions/checkout@v3