Skip to content

Comment out unconfigured app credentials in activation-app.md and safe-output-app.md - #21836

Merged
pelikhan merged 3 commits into
mainfrom
copilot/comment-out-app-configuration
Mar 19, 2026
Merged

Comment out unconfigured app credentials in activation-app.md and safe-output-app.md#21836
pelikhan merged 3 commits into
mainfrom
copilot/comment-out-app-configuration

Conversation

CopilotAI commented Mar 19, 2026

Copy link
Copy Markdown
Contributor

activation-app.md and safe-output-app.md reference vars.APP_ID and secrets.APP_PRIVATE_KEY which are not configured in the repository, causing workflow failures.

Changes

  • shared/activation-app.md: Comment out on.github-app block in frontmatter
  • shared/safe-output-app.md: Comment out safe-outputs.github-app block in frontmatter
# Before
---
on:
github-app:
app-id: ${{ vars.APP_ID }}private-key: ${{ secrets.APP_PRIVATE_KEY }}
---
# After
---
# on:# github-app:# app-id: ${{ vars.APP_ID }}# private-key: ${{ secrets.APP_PRIVATE_KEY }}
---

Recompiled all 175 affected workflow lock files.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw (http block)
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw AKcKD16D9PwF (http block)
  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq .object.sha (http block)
  • https://api.github.com/repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b
    • Triggering command: /usr/bin/gh gh api /repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b --jq .object.sha (http block)
  • https://api.github.com/repos/github/gh-aw
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw --jq .visibility (http block)
  • https://api.github.com/repos/githubnext/agentics/git/ref/tags/
    • Triggering command: /usr/bin/gh gh api /repos/githubnext/agentics/git/ref/tags/# --jq .object.sha (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Reference: https://github.com/github/gh-aw/actions/runs/23305023582/job/67776563770#step:5:1

Comment out the app configuration in activation-app.md and safe-outputs-app.md since the app is not configured currently.


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

…p.md
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
CopilotAI changed the title [WIP] Comment out app configuration in markdown filesComment out unconfigured app credentials in activation-app.md and safe-output-app.mdMar 19, 2026
CopilotAI requested a review from pelikhanMarch 19, 2026 18:27
@pelikhan
pelikhan marked this pull request as ready for review March 19, 2026 18:30
CopilotAI review requested due to automatic review settings March 19, 2026 18:30
@pelikhan
pelikhan merged commit 9495c63 into mainMar 19, 2026
@pelikhan
pelikhan deleted the copilot/comment-out-app-configuration branch March 19, 2026 18:30

CopilotAI 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 removes references to unconfigured GitHub App credentials (vars.APP_ID / secrets.APP_PRIVATE_KEY) that were causing workflow failures by disabling the shared GitHub App configuration and regenerating affected workflow lock files.

Changes:

  • Comment out GitHub App configuration blocks in shared workflow frontmatter (activation-app.md, safe-output-app.md).
  • Regenerate workflow .lock.yml files to remove GitHub App token minting steps and associated env/output wiring.
  • Update affected steps to use a fallback GitHub token (secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN) where applicable.

Reviewed changes

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

Show a summary per file
FileDescription
.github/workflows/shared/activation-app.mdComments out on.github-app frontmatter block so compilation no longer injects App-based activation behavior.
.github/workflows/shared/safe-output-app.mdComments out safe-outputs.github-app frontmatter block so compilation no longer injects App-based safe-output behavior.
.github/workflows/ubuntu-image-analyzer.lock.ymlRemoves pre-activation GitHub App token step and related token usage in skip-if checks.
.github/workflows/slide-deck-maintainer.lock.ymlRemoves pre-activation GitHub App token step and related token usage in skip-if checks.
.github/workflows/issue-monster.lock.ymlRemoves pre-activation GitHub App token step and related token usage in skip-if checks.
.github/workflows/dead-code-remover.lock.ymlRemoves pre-activation GitHub App token step and related token usage in skip-if checks.
.github/workflows/daily-safe-output-optimizer.lock.ymlRemoves pre-activation GitHub App token step and related token usage in skip-if checks.
.github/workflows/daily-rendering-scripts-verifier.lock.ymlRemoves pre-activation GitHub App token step and related token usage in skip-if checks.
.github/workflows/code-simplifier.lock.ymlRemoves pre-activation GitHub App token step and related token usage in skip-if checks.
.github/workflows/code-scanning-fixer.lock.ymlRemoves pre-activation GitHub App token step and related token usage in skip-if checks.
.github/workflows/breaking-change-checker.lock.ymlRemoves pre-activation GitHub App token step and related token usage in skip-if checks.
.github/workflows/daily-testify-uber-super-expert.lock.ymlRemoves safe-output GitHub App token minting/invalidation and switches github-script steps to token fallback.
.github/workflows/daily-mcp-concurrency-analysis.lock.ymlRemoves safe-output GitHub App token minting/invalidation and switches github-script steps to token fallback (plus updates create-agent-session token usage).
.github/workflows/daily-file-diet.lock.ymlRemoves safe-output GitHub App token minting/invalidation and switches github-script steps to token fallback; removes App-based skip-if token wiring.
.github/workflows/artifacts-summary.lock.ymlRemoves safe-output GitHub App token minting/invalidation and switches github-script steps to token fallback.

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

Comment on lines 1 to +5
---
safe-outputs:
github-app:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
# safe-outputs:
# github-app:
# app-id: ${{ vars.APP_ID }}
# private-key: ${{ secrets.APP_PRIVATE_KEY }}
Comment on lines 1 to +5
---
on:
github-app:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
# on:
# github-app:
# app-id: ${{ vars.APP_ID }}
# private-key: ${{ secrets.APP_PRIVATE_KEY }}
GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }}
with:
github-token: ${{ steps.safe-outputs-app-token.outputs.token }}
github-token: ${{ secrets.COPILOT_GITHUB_TOKEN }}
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@pelikhan