diff --git a/.gitea/scoped_workflows/release.yaml b/.gitea/scoped_workflows/release.yaml index 0a34a9e..664bcc4 100644 --- a/.gitea/scoped_workflows/release.yaml +++ b/.gitea/scoped_workflows/release.yaml @@ -43,10 +43,10 @@ jobs: curl --silent --show-error --fail --location --output cliff.toml "$url" echo "config=cliff.toml" >> "$GITHUB_OUTPUT" - - name: Read GITHUB_TOKEN from the runner + - name: Read envs from the runner uses: https://git.sothink.vn/gitea/global-workflow/.gitea/actions/load-env@main with: - names: GITHUB_TOKEN + names: GITHUB_TOKEN RELEASE_TOKEN # Gitea's GITHUB_TOKEN is rejected by api.github.com. Pass a github.com PAT instead. - name: Generate release notes @@ -58,11 +58,6 @@ jobs: env: OUTPUT: release-notes.md - - name: Read Release Token from the runner - uses: https://git.sothink.vn/gitea/global-workflow/.gitea/actions/load-env@main - with: - names: RELEASE_TOKEN - - name: Create release uses: softprops/action-gh-release@v3 with: