From 860c1950c0f847c4327bb2002012d70609b49963 Mon Sep 17 00:00:00 2001 From: Gavin Hayes Date: Fri, 23 Aug 2024 13:05:46 -0400 Subject: [PATCH] ci: use token to install libextism --- .github/actions/libextism/action.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/actions/libextism/action.yaml b/.github/actions/libextism/action.yaml index cd36dc2..77096c3 100644 --- a/.github/actions/libextism/action.yaml +++ b/.github/actions/libextism/action.yaml @@ -2,6 +2,11 @@ on: [workflow_call] name: libextism +inputs: + gh-token: + description: "A GitHub PAT" + default: ${{ github.token }} + runs: using: composite steps: @@ -12,4 +17,4 @@ runs: - uses: ./.extism-cli/.github/actions/extism-cli - name: Install shell: bash - run: sudo extism lib install --version git + run: sudo extism lib install --version git --github-token ${{ inputs.gh-token }}