Skip to content

ci(sync): update GitHub Actions - #105

Merged
zhekaby merged 1 commit into
masterfrom
ci/sync-github-actions-b562436
Aug 17, 2026
Merged

ci(sync): update GitHub Actions#105
zhekaby merged 1 commit into
masterfrom
ci/sync-github-actions-b562436

Conversation

@ik-ci-admin

@ik-ci-admin ik-ci-admin Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Automatically generated PR to sync GitHub Actions and related configs.

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 17, 2026 16:53
@ik-ci-admin
ik-ci-admin Bot requested a review from a team August 17, 2026 16:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.

Updates the pre-commit GitHub Action script to avoid writing a Git URL rewrite when GITHUB_TOKEN is not available (common in forked PR runs), improving robustness of the action.

Changes:

  • Guard git config url.<token>@github.com/indykite/.insteadOf ... behind a non-empty GITHUB_TOKEN check
  • Emit an informational log when the rewrite is skipped due to missing token

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

if [[ -n "${GITHUB_TOKEN:-}" ]]; then
git config --global url."https://x-access-token:${GITHUB_TOKEN}@github.com/indykite/".insteadOf "ssh://git@github.com/indykite/"
else
echo "[INFO] GITHUB_TOKEN empty (fork run?), skipping insteadOf rewrite"

git config --global url."https://x-access-token:${GITHUB_TOKEN}@github.com/indykite/".insteadOf "ssh://git@github.com/indykite/"
if [[ -n "${GITHUB_TOKEN:-}" ]]; then
git config --global url."https://x-access-token:${GITHUB_TOKEN}@github.com/indykite/".insteadOf "ssh://git@github.com/indykite/"
@zhekaby
zhekaby merged commit 8c3433e into master Aug 17, 2026
7 checks passed
@zhekaby
zhekaby deleted the ci/sync-github-actions-b562436 branch August 17, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants