Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/breaking-change-checker.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/breaking-change-checker.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ safe-outputs:
run-failure: "🔬 Analysis interrupted! [{workflow_name}]({run_url}) {status}. Compatibility status unknown..."
timeout-minutes: 10
imports:
- shared/activation-app.md
- shared/reporting.md
features:
copilot-requests: true
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/code-scanning-fixer.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .github/workflows/code-scanning-fixer.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ permissions:
pull-requests: read
security-events: read
engine: copilot
imports:
- shared/activation-app.md
tools:
github:
github-token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/code-simplifier.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/code-simplifier.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ permissions:
tracker-id: code-simplifier

imports:
- shared/activation-app.md
- shared/reporting.md

safe-outputs:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/daily-file-diet.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/daily-file-diet.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ tracker-id: daily-file-diet
engine: copilot

imports:
- shared/activation-app.md
- shared/reporting.md
- shared/safe-output-app.md
- shared/mcp/serena-go.md
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/daily-rendering-scripts-verifier.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/daily-rendering-scripts-verifier.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ safe-outputs:
timeout-minutes: 30

imports:
- shared/activation-app.md
- shared/reporting.md
---

Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/daily-safe-output-optimizer.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/daily-safe-output-optimizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ timeout-minutes: 30
strict: true

imports:
- shared/activation-app.md
- shared/jqschema.md
- shared/reporting.md
---
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/daily-testify-uber-super-expert.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/daily-testify-uber-super-expert.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ tracker-id: daily-testify-uber-super-expert
engine: copilot

imports:
- shared/activation-app.md
- shared/reporting.md
- shared/safe-output-app.md
- shared/mcp/serena-go.md
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/dead-code-remover.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .github/workflows/dead-code-remover.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ permissions:
pull-requests: read
issues: read
engine: copilot
imports:
- shared/activation-app.md
network:
allowed:
- defaults
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/issue-monster.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .github/workflows/issue-monster.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ engine:
id: copilot
model: gpt-5.1-codex-mini

imports:
- shared/activation-app.md

timeout-minutes: 30

tools:
Expand Down
62 changes: 62 additions & 0 deletions .github/workflows/shared/activation-app.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
#on:
# github-app:
# app-id: ${{ vars.APP_ID }}
# private-key: ${{ secrets.APP_PRIVATE_KEY }}
---

<!--
# Shared Activation GitHub App Configuration

This shared workflow provides repository-level GitHub App configuration for the activation job,
including pre-activation skip-if search checks, reactions, and status comments.

## Configuration Variables

This shared workflow expects:
- **Repository Variable**: `APP_ID` - The GitHub App ID
- **Repository Secret**: `APP_PRIVATE_KEY` - The GitHub App private key

## Usage

Import this configuration in your workflows to enable GitHub App authentication for
skip-if search queries and other activation-job operations:

```yaml
imports:
- shared/activation-app.md
on:
schedule: daily
skip-if-match:
query: "org:myorg label:in-progress is:issue is:open"
scope: none
```

The configuration will be automatically inherited by importing workflows (first-wins strategy).

## Benefits

- **Cross-Org Search**: Combine with `scope: none` in skip-if-match / skip-if-no-match to search
across an organization instead of only the current repository
- **Centralized Configuration**: Single source of truth for app credentials — update once,
all importing workflows benefit automatically
- **Unified Token**: A single short-lived installation token is minted and shared across all
skip-if search steps, reactions, and status comments in the activation job
- **Repository-Scoped**: Uses repository-specific variables and secrets

## How It Works

When this shared workflow is imported:
1. The `on.github-app` configuration is extracted and merged into the importing workflow
2. A single `pre-activation-app-token` step is emitted in the pre-activation job
3. All skip-if search steps (skip-if-match and skip-if-no-match) receive this token
4. The token is also used for reactions and status comments when configured

## Token Precedence

1. App token from `on.github-app` (this configuration) — **Highest priority for activation job**
2. Custom token from `on.github-token`
3. Default `GITHUB_TOKEN`

`github-app` and `github-token` are mutually exclusive at the top-level `on:` section.
-->
9 changes: 8 additions & 1 deletion .github/workflows/slide-deck-maintainer.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .github/workflows/slide-deck-maintainer.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ concurrency:
job-discriminator: ${{ inputs.focus || github.run_id }}
tracker-id: slide-deck-maintainer
engine: copilot
imports:
- shared/activation-app.md
timeout-minutes: 45
tools:
cache-memory: true
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/ubuntu-image-analyzer.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading