From 87a0317e45077a0117eab45f803ea6abeaecb854 Mon Sep 17 00:00:00 2001 From: Maqsood Ahmad Date: Mon, 7 Jul 2025 21:11:47 +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 | 4 ++++ .github/workflows/nightly.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 78ef6531..0852f057 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,6 +50,10 @@ jobs: FACTER_GEM_VERSION: 'https://github.com/puppetlabs/facter#main' # why is this set? steps: + - name: "Install Twingate" + uses: "twingate/github-action@v1" + with: + service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }} - name: "Checkout" uses: "actions/checkout@v3" diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 03a4db54..14d71a6d 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -47,6 +47,10 @@ jobs: FACTER_GEM_VERSION: 'https://github.com/puppetlabs/facter#main' # why is this set? steps: + - name: "Install Twingate" + uses: "twingate/github-action@v1" + with: + service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }} - name: "Checkout" uses: "actions/checkout@v3"