githubnext / githubnext/gh-aw-test

Suggested test: copilot/linear-create-issue

Open Beginner friendly
#13,714 0 comments 0 reactions 0 assignees View on GitHub
suggested new test
Dominant language
Shell
Stars
8
Forks
5
PR merge metrics
No merged PRs in 30d

Description

## Motivation

github/gh-aw#57816 — "Add native Linear Safe Outputs" merged upstream, introducing `linear-create-issue`, `linear-add-comment`, `linear-update-issue` safe outputs with credential isolation via `linear-token`. No test in `gh-aw-test` exercises this new integration.

## Proposed test

- **Workflow file**: `test-copilot-linear-create-issue.md`
- **Trigger**: `workflow_dispatch`
- **Engine**: copilot
- **Safe output**: `linear-create-issue`
- **Variant**: standard

## Minimal test prompt sketch

Configure `safe-outputs: { linear-create-issue: { team-id: ... } }` with a `samples:` block so the test runs deterministically without needing a live Linear workspace. Prompt: "Emit a linear_create_issue safe output for a test issue."

## New fixtures or secrets needed

Requires a `LINEAR_API_KEY` secret and a real/dedicated Linear team-id to validate beyond the `samples:` compile-time path — flagging as open question. Without live credentials, the test can only validate compilation + safe-output emission (via `samples:`), not the actual Linear API call, similar to how most `create-*` tests validate against this repo.

## Notes

Since Linear is a new external system, first pass could validate only that the workflow compiles and the safe-output item is emitted correctly using `--use-samples`, deferring live-API validation until a Linear fixture/secret is provisioned.

> Generated by [🔍 Suggest New E2E Tests](https://github.com/githubnext/gh-aw-test/actions/runs/33609783863) · copilot · auto · 83.2 AIC · ⌖ 8.02 AIC · ⊞ 8.8K · [◷](https://github.com/search?q=repo%3Agithubnext%2Fgh-aw-test+is%3Aissue+%22gh-aw-workflow-call-id%3A+githubnext%2Fgh-aw-test%2Fsuggest-new-e2e-tests%22&type=issues)

Contributor guide

No contributing guide indexed for this repository

Research direction

Create test-copilot-linear-create-issue.md with the specified workflow_dispatch trigger, copilot engine, linear-create-issue safe output, and samples block. Run the test with --use-samples; done means the workflow compiles and emits the expected safe-output item without requiring live Linear credentials.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd, testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
82/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.