From 1d75537ae770f9b3b02abeedcd46fdf3c2be9e1a Mon Sep 17 00:00:00 2001 From: Gavin Hayes Date: Fri, 23 Aug 2024 14:02:13 -0400 Subject: [PATCH] ci: use token to install libextism (#33) --- .github/actions/libextism/action.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/actions/libextism/action.yml b/.github/actions/libextism/action.yml index cd36dc2..77096c3 100644 --- a/.github/actions/libextism/action.yml +++ b/.github/actions/libextism/action.yml @@ -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 }}