diff --git a/.github/workflows/__call-update-winget-repo.yml b/.github/workflows/__call-update-winget-repo.yml index 16b58f70..8c7b5e17 100644 --- a/.github/workflows/__call-update-winget-repo.yml +++ b/.github/workflows/__call-update-winget-repo.yml @@ -12,11 +12,6 @@ permissions: {} on: workflow_call: - inputs: - gh_name: - description: 'GitHub author name to use for the deployment url.' - required: true - type: string secrets: GH_TOKEN: description: 'GitHub token to use for the workflow.' @@ -29,7 +24,7 @@ jobs: runs-on: ubuntu-latest environment: name: Winget - url: https://github.com/microsoft/winget-pkgs/issues?q=is%3Apr%20author%3A${{ inputs.gh_name }} + url: ${{ steps.winget.outputs.pr-url }} steps: - name: Check if Winget repo id: check-label @@ -79,7 +74,7 @@ jobs: if: >- steps.check-label.outputs.hasTopic == 'true' && fromJson(steps.download.outputs.downloaded_files)[0] - uses: vedantmgoyal2009/winget-releaser@4ffc7888bffd451b357355dc214d43bb9f23917e # v2 + uses: vedantmgoyal9/winget-releaser@c4f385af3b963eb724738ac0578b14eec7bebcc1 # v2 with: identifier: "${{ github.repository_owner }}.${{ github.event.repository.name }}" release-tag: ${{ github.event.release.tag_name }} diff --git a/.github/workflows/_update-winget-repo.yml b/.github/workflows/_update-winget-repo.yml index 106a83bd..d9cf5f17 100644 --- a/.github/workflows/_update-winget-repo.yml +++ b/.github/workflows/_update-winget-repo.yml @@ -26,7 +26,5 @@ jobs: if: github.repository_owner == 'LizardByte' permissions: contents: read - with: - gh_name: ${{ vars.GH_BOT_NAME }} secrets: GH_TOKEN: ${{ secrets.GH_BOT_TOKEN }}