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 2026/04/30 03:33:47 UTC
(grails-core) branch 7.0.x updated: [skip ci] add check for rate limit for debugging
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
The following commit(s) were added to refs/heads/7.0.x by this push:
new 11a4fc8e85 [skip ci] add check for rate limit for debugging
11a4fc8e85 is described below
commit 11a4fc8e859283783f36335c39d70ecb4b38115a
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Wed Apr 29 23:33:35 2026 -0400
[skip ci] add check for rate limit for debugging
---
.github/workflows/release.yml | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d96b7958de..c645a6722d 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -52,6 +52,12 @@ jobs:
run: echo "VERSION=${TAG#v}" >> "$GITHUB_ENV"
- name: "🌐 Output Agent IP" # in the event RAO blocks this agent, this can be used to debug it
run: curl -s https://api.ipify.org
+ - name: "🔬 Check Rate Limit"
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ current_limit=$(gh api rate_limit --jq '.resources.graphql')
+ echo "Current Rate Limit: $current_limit"
- name: "📥 Checkout repository"
uses: actions/checkout@v6
with:
@@ -238,6 +244,13 @@ jobs:
steps:
- name: "📝 Establish release version"
run: echo "VERSION=${TAG#v}" >> "$GITHUB_ENV"
+ - name: "🔬 Check Rate Limit"
+ working-directory: grails
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ current_limit=$(gh api rate_limit --jq '.resources.graphql')
+ echo "Current Rate Limit: $current_limit"
- name: "📥 Checkout Grails Core repository"
uses: actions/checkout@v6
with:
@@ -357,6 +370,12 @@ jobs:
steps:
- name: "📝 Establish release version"
run: echo "VERSION=${TAG#v}" >> "$GITHUB_ENV"
+ - name: "🔬 Check Rate Limit"
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ current_limit=$(gh api rate_limit --jq '.resources.graphql')
+ echo "Current Rate Limit: $current_limit"
- name: "🛠️ Install tools"
run: sudo apt-get install -y subversion subversion-tools tree gettext-base
- name: "👀 Ensure dev/${{ env.SVN_PROJECT }} folder exists"
@@ -478,6 +497,12 @@ jobs:
steps:
- name: "📝 Establish release version"
run: echo "VERSION=${TAG#v}" >> "$GITHUB_ENV"
+ - name: "🔬 Check Rate Limit"
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ current_limit=$(gh api rate_limit --jq '.resources.graphql')
+ echo "Current Rate Limit: $current_limit"
- name: "📥 Checkout repository"
uses: actions/checkout@v6
with:
@@ -547,6 +572,12 @@ jobs:
steps:
- name: "📝 Establish release version"
run: echo "VERSION=${TAG#v}" >> "$GITHUB_ENV"
+ - name: "🔬 Check Rate Limit"
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ current_limit=$(gh api rate_limit --jq '.resources.graphql')
+ echo "Current Rate Limit: $current_limit"
- name: "⚙️ Maximize build space"
run: |
echo "-- Dotnet"
@@ -596,6 +627,12 @@ jobs:
steps:
- name: "📝 Establish release version"
run: echo "VERSION=${TAG#v}" >> "$GITHUB_ENV"
+ - name: "🔬 Check Rate Limit"
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ current_limit=$(gh api rate_limit --jq '.resources.graphql')
+ echo "Current Rate Limit: $current_limit"
- name: "📥 Checkout repository"
uses: actions/checkout@v6
with:
@@ -636,6 +673,12 @@ jobs:
steps:
- name: "📝 Establish release version"
run: echo "VERSION=${TAG#v}" >> "$GITHUB_ENV"
+ - name: "🔬 Check Rate Limit"
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ current_limit=$(gh api rate_limit --jq '.resources.graphql')
+ echo "Current Rate Limit: $current_limit"
- name: "📥 Checkout repository"
uses: actions/checkout@v6
with: