diff --git a/.gitea/workflows/auto-release.yaml b/.gitea/workflows/auto-release.yaml index 73b81d8..5375a5d 100644 --- a/.gitea/workflows/auto-release.yaml +++ b/.gitea/workflows/auto-release.yaml @@ -59,8 +59,6 @@ jobs: - name: Create and push new tag if: steps.check_change.outputs.changed == 'true' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | new_tag=${{ steps.bump.outputs.new_tag }} git config --local user.name "${GIT_USER}" @@ -72,9 +70,10 @@ jobs: if: steps.check_change.outputs.changed == 'true' uses: peter-evans/repository-dispatch@v4.0.0 with: - token: ${{ secrets.GITHUB_TOKEN }} - event-type: push-tagged-images client-payload: | { "tag": "${{ steps.bump.outputs.new_tag }}" - } \ No newline at end of file + } + event-type: push-tagged-images + repository: ${{ github.repository }} + token: ${{ github.token }}