[issue-810] updated push-trigger.yml to fix github action build issue - #811
Conversation
Signed-off-by: Prafulrakhade <prafulrakhade02@gmail.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe ChangesSonar workflow configuration
Estimated code review effort: 1 (Trivial) | ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@CodeRabbit how can coderabbit approve this PR ? does it have write access ? |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
repo="mosip/mosip-compliance-toolkit-ui"
echo "Repository installation:"
gh api "repos/${repo}/installation" \
--jq '{app_slug: .app_slug, app_name: .app_name, permissions: .permissions, repository_selection: .repository_selection}' \
|| echo "Unable to read the repository installation (this endpoint may require repository administration access)."Length of output: 824
It needs the CodeRabbit GitHub App to have Pull requests: Read and write permission for GitHub → Settings → Integrations → GitHub Apps → CodeRabbit → Configure → Repository permissions The permission check could not be completed because the GitHub API credential returned a 🐇🔎 |
|
@CodeRabbit |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
repo="mosip/mosip-compliance-toolkit-ui"
pr="811"
echo "== PR review/merge state =="
gh pr view "$pr" --repo "$repo" --json \
number,baseRefName,mergeStateStatus,reviewDecision,isDraft,reviews,statusCheckRollup \
--jq '{
number,
base: .baseRefName,
mergeStateStatus,
reviewDecision,
isDraft,
reviews: [.reviews[] | {author: .author.login, state, submittedAt}],
checks: [.statusCheckRollup[]? | {
name: (.name // .context),
status,
conclusion,
app: (.workflowName // .detailsUrl // "")
}]
}'
echo
echo "== Branch protection for develop (may be absent if rulesets are used) =="
gh api "repos/${repo}/branches/develop/protection" \
--jq '{
required_status_checks,
required_pull_request_reviews,
enforce_admins,
restrictions,
required_linear_history,
allow_force_pushes,
allow_deletions
}' || true
echo
echo "== Repository rulesets that may apply to develop =="
gh api "repos/${repo}/rulesets?includes_parents=true" \
--jq '[.[] | {
id, name, target, enforcement,
conditions,
rules: [.rules[] | {type, parameters}]
}]' || true
echo
echo "== CodeRabbit application installation permissions (if caller is authorized) =="
gh api "repos/${repo}/installation" \
--jq '{app_slug, app_name, permissions, repository_selection}' || trueLength of output: 3144 ⚙️ CodeRabbit configuration inspected Length of output: 11038 🤖 web_search executed:
Length of output: 13527
To keep CodeRabbit as comment-only/advisory, update reviews:
request_changes_workflow: falseThis preserves CodeRabbit’s ability to post review comments and suggestions, but disables its approval workflow—including Then, as a repository administrator, open: GitHub → Settings → Branches → Verify and change these items:
For the already-open The branch-protection API was not accessible to the current integration, so I could not confirm whether 🐇⬛🔍 |
Summary by CodeRabbit