Repository navigation
Add daily Linear and Jira smoke issues workflow #58320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
1307ada
39ef9e7
7ac8639
e4e854e
38e07cb
11ec295
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| --- | ||
| private: true | ||
| emoji: "🧪" | ||
| name: Smoke Issues | ||
| description: Create a daily haiku issue in Linear and Jira through safe outputs | ||
| on: | ||
| schedule: daily | ||
| workflow_dispatch: | ||
| permissions: | ||
| contents: read | ||
| actions: read | ||
| engine: copilot | ||
| safe-outputs: | ||
| env: | ||
| JIRA_BASE_URL: https://pelidehalleux.atlassian.net | ||
| JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} | ||
| JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @copilot same, the 3 JIRA_... env var should be added by the compiler
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Implemented in 7ac8639. The compiler now supplies Jira credentials to the trusted safe-output processor step. |
||
| linear-token: ${{ secrets.LINEAR_API_KEY }} | ||
| linear-create-issue: | ||
| team-id: "9cfb482a-81e3-4154-b5b9-2c805e70a02d" | ||
| project-id: "810f57a7e383" | ||
|
|
||
| max: 1 | ||
| jira-create-issue: | ||
| max: 1 | ||
| timeout-minutes: 5 | ||
| --- | ||
|
|
||
| # Smoke Issues | ||
|
|
||
| Generate one original haiku about code, automation, or workflows using a 5-7-5 syllable pattern. | ||
|
|
||
| Create exactly two issues containing the same haiku and the workflow run URL: | ||
|
|
||
| 1. Use `linear_create_issue` to create one issue in the configured Linear project. | ||
| 2. Use `jira_create_issue` to create one `Task` in Jira project `KAN`. | ||
|
|
||
| Use `Smoke Issues — ${{ github.run_id }}` as both issue titles. Include this run URL in both issue bodies: | ||
| `${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}`. | ||
|
|
||
| Do not create GitHub issues or use any other write tools. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot this should a builtin env var added by the compiler
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implemented in 7ac8639. Linear safe outputs now use the compiler-provided
LINEAR_API_KEYdefault.