From c8aa28fb0bb1df806e99bc5f3d3a07e53a08293b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9lcio=20Franco?= Date: Mon, 18 Mar 2024 19:32:07 -0400 Subject: [PATCH] chore: add required env to the example --- update-sdk/README.md | 4 +++- update-sdk/action.yaml | 3 --- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/update-sdk/README.md b/update-sdk/README.md index 4caee7d..b56e84f 100644 --- a/update-sdk/README.md +++ b/update-sdk/README.md @@ -7,7 +7,9 @@ A github action to update the SDK packages. ```yml - uses: FuelLabs/github-actions/update-sdk@master with: - npm-tag: ${{ matrix.tag }} + npm-tag: ${{ matrix.tag }} # Or anything else + env: + GH_TOKEN: ${{ secrets.REPO_TOKEN }} ``` ### Inputs diff --git a/update-sdk/action.yaml b/update-sdk/action.yaml index af9ccec..906d1b9 100644 --- a/update-sdk/action.yaml +++ b/update-sdk/action.yaml @@ -2,9 +2,6 @@ name: "SDK Outdated" description: "Reusable workflow for update the SDK packages" inputs: - token: - description: "Github Token" - default: ${{ github.token }} repository: description: "Github Repository" default: ${{ github.repository }}