You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2025/09/03 03:17:47 UTC
(incubator-grails-gradle-publish) branch main updated: fix: set GITHUB_TOKEN for gh cli usage
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-grails-gradle-publish.git
The following commit(s) were added to refs/heads/main by this push:
new ccccc74 fix: set GITHUB_TOKEN for gh cli usage
ccccc74 is described below
commit ccccc74b11629cb7b47a1999ee3faceecb577227
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Tue Sep 2 23:17:36 2025 -0400
fix: set GITHUB_TOKEN for gh cli usage
---
.github/workflows/release.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 6a74303..282f530 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -82,6 +82,7 @@ jobs:
OWNER: ${{ github.repository_owner }}
REPO: ${{ steps.extract_repository_name.outputs.repository_name }}
TAG: 'v${{ steps.release_version.outputs.value }}'
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
ref_json=$(gh api "repos/$OWNER/$REPO/git/ref/tags/$TAG")
type=$(jq -r '.object.type' <<<"$ref_json")