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