diff --git a/.github/actions/tag-exists/action.yml b/.github/actions/tag-exists/action.yml index ab462d7..b5fbdb7 100644 --- a/.github/actions/tag-exists/action.yml +++ b/.github/actions/tag-exists/action.yml @@ -11,10 +11,6 @@ inputs: required: true tag: required: true - repo_owner: - required: true - repo_name: - required: true outputs: exists: @@ -37,5 +33,4 @@ runs: fi env: TAG_NAME: ${{ inputs.tag }} - GITHUB_REPOSITORY: ${{ inputs.repo_owner }}/${{ inputs.repo_name }} GITHUB_TOKEN: ${{ inputs.token }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c4ced71..9b3db00 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,8 +54,6 @@ jobs: with: tag: ${{ steps.get_version.outputs.version }} token: ${{ secrets.GITHUB_TOKEN }} - repo_owner: ${{ github.repository_owner }} - repo_name: ${{ github.event.repository.name }} # If the tag already exists, exit with an error - if: steps.tag_exists.outputs.exists == 'true'