This is an automated email from the ASF dual-hosted git repository.
NSAmelchev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push:
new 1924f431813 IGNITE-28683 Validate ignite-website token in the Publish
website documentation action (#13141)
1924f431813 is described below
commit 1924f431813a500d760c5f1949016e5705ed9610
Author: Nikita Amelchev <[email protected]>
AuthorDate: Fri May 15 14:40:25 2026 +0300
IGNITE-28683 Validate ignite-website token in the Publish website
documentation action (#13141)
---
.../workflows/publish-website-on-branch-update.yml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/.github/workflows/publish-website-on-branch-update.yml
b/.github/workflows/publish-website-on-branch-update.yml
index 00188de016c..6092aa2af80 100644
--- a/.github/workflows/publish-website-on-branch-update.yml
+++ b/.github/workflows/publish-website-on-branch-update.yml
@@ -59,6 +59,26 @@ jobs:
exit 1
fi
+ - name: Validate ignite-website token
+ env:
+ GH_TOKEN: ${{ secrets.IGNITE_WEBSITE_BUILD }}
+ run: |
+ if [ -z "$GH_TOKEN" ]; then
+ echo "::error::Secret IGNITE_WEBSITE_BUILD is empty or missing."
+ echo "::error::Please contact Apache INFRA to create or update the
token."
+ echo "::error::Example INFRA ticket:"
+ echo "::error::https://issues.apache.org/jira/browse/INFRA-27835"
+ exit 1
+ fi
+
+ if ! git ls-remote
https://x-access-token:${GH_TOKEN}@github.com/apache/ignite-website.git
&>/dev/null; then
+ echo "::error::Invalid or expired IGNITE_WEBSITE_BUILD token."
+ echo "::error::Please contact Apache INFRA to renew or recreate
the token."
+ echo "::error::Example INFRA ticket:"
+ echo "::error::https://issues.apache.org/jira/browse/INFRA-27835"
+ exit 1
+ fi
+
- name: Check out 'ignite-website' repository code
uses: actions/checkout@v3
with: