Skip to content

Fix all open pr comments - #39

Merged
PramodKumarYadav merged 3 commits into
mainfrom
fix-all-open-pr-comments
Jun 6, 2026
Merged

Fix all open pr comments#39
PramodKumarYadav merged 3 commits into
mainfrom
fix-all-open-pr-comments

Conversation

@PramodKumarYadav

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings June 6, 2026 17:13
@PramodKumarYadav
PramodKumarYadav merged commit 92bf788 into main Jun 6, 2026
2 checks passed
@PramodKumarYadav
PramodKumarYadav deleted the fix-all-open-pr-comments branch June 6, 2026 17:14
@github-actions

github-actions Bot commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

ci deploy success for 92bf788

Environment: ci | View app

@github-actions github-actions Bot added the deployed: ci Deployed to ci label Jun 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the image build/deploy workflow automation to use a GitHub App installation token (instead of a long-lived PAT) for committing workflow-file changes to main, and improves the deploy UX by showing image tag push dates while hardening input handling.

Changes:

  • Added a decision document describing the rationale and setup for using a GitHub App installation token for workflow updates.
  • Updated build-image.yml to (a) only skip builds when both server+client images exist, (b) mint a GitHub App token for committing workflow updates, and (c) format image_tag options with push dates.
  • Updated deploy/list workflows to link correctly from summaries and to safely consume the date-suffixed image_tag values.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
docs/GITHUB_APP_SERVICE_TOKEN.md New decision/setup documentation for GitHub App-based service tokens.
.github/workflows/list-images.yml Uses absolute workflow links in the step summary.
.github/workflows/build-image.yml Uses GitHub App token for workflow commits; refines skip logic; enhances image_tag option formatting.
.github/workflows/_deploy.yml Passes image_tag via env and strips date suffix before use.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +194 to 202
TODAY=$(date -u +%F)
BASE=$(echo "$TAGGED_OBJS" | jq -c \
--arg newtag "$NEW_TAG" \
--arg today "$TODAY" \
'(if map(select(.tag == $newtag)) | length == 0
then [{ tag: $newtag, date: $today }]
else []
end) + map(select(.tag != $newtag))
| .[0:10]')
Comment on lines +143 to +146
# Store the App ID as a repository variable (Settings → Variables → Actions).
app-id: ${{ vars.WORKFLOW_APP_ID }}
# Store the private key PEM as a repository secret (Settings → Secrets → Actions).
private-key: ${{ secrets.WORKFLOW_APP_PRIVATE_KEY }}

### 1 — Create the GitHub App at org level

1. Go to `github.com/organizations/<your-org>/settings/Developer Setting/GitHub Apps`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deployed: ci Deployed to ci

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants