From f7ba741940d3a40e443f186ec45332f0438836be Mon Sep 17 00:00:00 2001 From: jank Date: Sun, 25 Aug 2024 18:07:43 +0200 Subject: [PATCH] fix(action): Add inputs --- action.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 35629ec..ccc04ce 100644 --- a/action.yml +++ b/action.yml @@ -1,5 +1,12 @@ name: "Semantic Release" description: "Automatically creates semantic releases" +inputs: + GITHUB_TOKEN: + description: "Github token" + required: true + GITEA_TOKEN: + description: "Gitea token" + required: true runs: using: "composite" @@ -18,7 +25,7 @@ runs: run: npm audit signatures - name: Release env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} + GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }} + GITEA_TOKEN: ${{ inputs.GITEA_TOKEN }} run: npx semantic-release