Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
a0dea00
fix(featuredetection): add `ActionsFeatures` to detect workflow dispa…
babakks Feb 16, 2026
3382547
test(featuredetection): add tests for `ActionsFeatures`
babakks Feb 16, 2026
e73bf11
feat(workflow run): retrieve workflow run if supported by the API
babakks Feb 16, 2026
bf2ff7c
test(workflow run): verify retrieval of workflow run details
babakks Feb 16, 2026
b64dd58
test(featuredetection): fix test case name
babakks Feb 16, 2026
61ab5e0
docs(featuredetection): fix typo in comment
babakks Feb 16, 2026
3e9fbbb
refactor(workflow run): remove temp `out`
babakks Feb 16, 2026
36a85fd
fix(workflow run): apply `url.PathEscape` when compiling URL
babakks Feb 16, 2026
c47a10e
docs(workflow run): add cleanup marker with explanation on future cha…
babakks Feb 16, 2026
ce01621
docs(workflow run): improve help docs
babakks Feb 16, 2026
52eca96
refactor(featuredetection): remove temp in favour of early returns
babakks Feb 17, 2026
31f3756
fix(workflow run): bail out on feature detection error
babakks Feb 17, 2026
e90343d
Migrate PR triage workflows to shared workflows
BagToad Feb 17, 2026
5f66c0e
Remove feedback issue template
BagToad Feb 17, 2026
4da3fc5
Merge pull request #12707 from cli/kw/use-shared-pr-workflows
BagToad Feb 17, 2026
560128b
Merge pull request #12708 from cli/kw/remove-feedback-template
BagToad Feb 17, 2026
3af5359
Add usage examples to gh gist edit command
BagToad Feb 17, 2026
40dcfd6
Merge pull request #12710 from cli/kw/document-gist-edit-file-replace…
BagToad Feb 17, 2026
027adc7
Merge pull request #12695 from cli/babakks/retrieve-workflow-dispatch…
babakks Feb 17, 2026
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
28 changes: 0 additions & 28 deletions .github/ISSUE_TEMPLATE/feedback.md

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/pr-help-wanted.yml

This file was deleted.

75 changes: 0 additions & 75 deletions .github/workflows/prauto.yml

This file was deleted.

105 changes: 0 additions & 105 deletions .github/workflows/scripts/check-help-wanted.sh

This file was deleted.

59 changes: 59 additions & 0 deletions .github/workflows/triage-pull-requests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: PR Triaging
on:
pull_request_target:
types: [opened, reopened, edited, labeled, ready_for_review]
schedule:
- cron: '0 4 * * *' # Daily at 4 AM UTC — close unmet-requirements PRs

jobs:
label-external:
if: >-
github.event_name == 'pull_request_target' &&
(github.event.action == 'opened' || github.event.action == 'reopened')
uses: desktop/gh-cli-and-desktop-shared-workflows/.github/workflows/triage-label-external-pr.yml@main
permissions:
issues: write
pull-requests: write
repository-projects: read

close-from-default-branch:
if: >-
github.event_name == 'pull_request_target' &&
github.event.action == 'opened'
uses: desktop/gh-cli-and-desktop-shared-workflows/.github/workflows/triage-close-from-default-branch.yml@main
with:
default_branch: trunk
permissions:
pull-requests: write

check-requirements:
if: >-
github.event_name == 'pull_request_target' &&
(github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'edited')
uses: desktop/gh-cli-and-desktop-shared-workflows/.github/workflows/triage-pr-requirements.yml@main
permissions:
issues: read
pull-requests: write

close-unmet-requirements:
if: github.event_name == 'schedule'
uses: desktop/gh-cli-and-desktop-shared-workflows/.github/workflows/triage-pr-requirements.yml@main
permissions:
issues: read
pull-requests: write

close-no-help-wanted:
if: >-
github.event_name == 'pull_request_target' &&
github.event.action == 'labeled'
uses: desktop/gh-cli-and-desktop-shared-workflows/.github/workflows/triage-close-no-help-wanted.yml@main
permissions:
pull-requests: write

ready-for-review:
if: >-
github.event_name == 'pull_request_target' &&
github.event.action == 'labeled'
uses: desktop/gh-cli-and-desktop-shared-workflows/.github/workflows/triage-ready-for-review.yml@main
permissions:
pull-requests: write
10 changes: 10 additions & 0 deletions internal/featuredetection/detector_mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ func (md *DisabledDetectorMock) ReleaseFeatures() (ReleaseFeatures, error) {
return ReleaseFeatures{}, nil
}

func (md *DisabledDetectorMock) ActionsFeatures() (ActionsFeatures, error) {
return ActionsFeatures{}, nil
}

type EnabledDetectorMock struct{}

func (md *EnabledDetectorMock) IssueFeatures() (IssueFeatures, error) {
Expand Down Expand Up @@ -56,6 +60,12 @@ func (md *EnabledDetectorMock) ReleaseFeatures() (ReleaseFeatures, error) {
}, nil
}

func (md *EnabledDetectorMock) ActionsFeatures() (ActionsFeatures, error) {
return ActionsFeatures{
DispatchRunDetails: true,
}, nil
}

type AdvancedIssueSearchDetectorMock struct {
EnabledDetectorMock
searchFeatures SearchFeatures
Expand Down
Loading
Loading