Commit graph

10832 commits

Author SHA1 Message Date
Kynan Ware
453d89c2d4
Merge pull request #12795 from cli/dependabot/github_actions/actions/attest-build-provenance-4.1.0
chore(deps): bump actions/attest-build-provenance from 3.2.0 to 4.1.0
2026-03-02 09:26:34 -07:00
Kynan Ware
c2ccf29aa4
Merge pull request #12796 from cli/dependabot/github_actions/actions/download-artifact-8
chore(deps): bump actions/download-artifact from 7 to 8
2026-03-02 09:24:28 -07:00
Kynan Ware
84daf66a0a
Merge pull request #12797 from cli/dependabot/github_actions/actions/upload-artifact-7
chore(deps): bump actions/upload-artifact from 6 to 7
2026-03-02 09:23:03 -07:00
dependabot[bot]
ab399f09e1
chore(deps): bump actions/attest-build-provenance from 3.2.0 to 4.1.0
Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) from 3.2.0 to 4.1.0.
- [Release notes](https://github.com/actions/attest-build-provenance/releases)
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
- [Commits](96278af6ca...a2bbfa2537)

---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 16:02:34 +00:00
dependabot[bot]
6842f5bdcb
chore(deps): bump actions/download-artifact from 7 to 8
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 16:02:32 +00:00
dependabot[bot]
cc15e7e16d
chore(deps): bump actions/upload-artifact from 6 to 7
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 16:02:25 +00:00
Babak K. Shandiz
f521007494
Merge pull request #12821 from devm33/devm33/gh-copilot-env
Set COPILOT_GH env var when launching Copilot CLI
2026-03-02 15:34:19 +00:00
Devraj Mehta
351df5b9d1
Set COPILOT_GH env var when launching Copilot CLI
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-02 10:25:47 -05:00
Kynan Ware
097bad6f73
Merge pull request #12783 from srt32/fix-assignee-databaseid
Add databaseId to assignees GraphQL fragment
2026-02-28 12:22:33 -07:00
Simon Taranto
34c3b3c809 Add databaseId to assignees GraphQL fragment
The assignees query fragment only requested id, login, and name but the
GitHubUser struct includes a DatabaseID field. Since the field was never
requested from the API, it always defaulted to Go's zero value (0) in
JSON output. This adds databaseId to the fragment so the actual value is
returned.

Also adds ExportData test cases for assignees on both Issue and
PullRequest to verify databaseId round-trips correctly through JSON
serialization.
2026-02-25 10:26:46 -05:00
Babak K. Shandiz
cf862d65df
Merge pull request #12757 from cli/12756-gh-project-edit-fails-variable-$query-used-but-not-declared-in-updateprojectv2
Fix project mutation query variable usage
2026-02-23 15:10:27 +00:00
William Martin
4dd50cf60c Fix project mutation query variable usage
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-23 07:13:07 -07:00
Babak K. Shandiz
6c3e39ffc4
Merge pull request #12659 from cli/dependabot/go_modules/golang.org/x/crypto-0.48.0
chore(deps): bump golang.org/x/crypto from 0.47.0 to 0.48.0
2026-02-20 20:02:45 +00:00
dependabot[bot]
121dc8966b
chore(deps): bump golang.org/x/crypto from 0.47.0 to 0.48.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.47.0 to 0.48.0.
- [Commits](https://github.com/golang/crypto/compare/v0.47.0...v0.48.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.48.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-20 19:54:55 +00:00
Babak K. Shandiz
9e82fc2965
Merge pull request #12731 from cli/babakks/fix-agent-task-api-version
fix(agent-task/capi): use a fixed CAPI API version
2026-02-20 18:14:34 +00:00
Babak K. Shandiz
4681b40e70
fix(agent-task/capi): fix capi API version
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-02-20 18:04:12 +00:00
Kynan Ware
3521604ed2
Merge pull request #12716 from cli/wm-remove-licenses
Remove license bundling debris
2026-02-18 10:57:49 -07:00
William Martin
904952268f Remove debris licenses 2026-02-18 18:20:33 +01:00
William Martin
7ea88b1c4d
Bundle licenses at release time (#12625)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-02-18 17:59:27 +01:00
William Martin
dd9ca9b2fa
Clean up project item-list query addition changes (#12714) 2026-02-18 17:58:56 +01:00
William Martin
ccfe693c46 Rename query for clarity 2026-02-18 17:34:42 +01:00
William Martin
f55656ca67 Remove pointer comments 2026-02-18 17:25:56 +01:00
William Martin
f8d855f502 Simplify error message 2026-02-18 17:25:56 +01:00
William Martin
aeeb8a3d93 Remove DTO concept 2026-02-18 17:25:56 +01:00
William Martin
8dcfd330e7
Add --query flag to project item-list (#12696)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Babak K. Shandiz <babakks@github.com>
2026-02-18 16:34:13 +01:00
Kynan Ware
3a73c39cc6
Merge pull request #12711 from cli/clarify-clobber-docs-8822
`gh release upload`: Clarify `--clobber` flag deletes assets before re-uploading
2026-02-18 08:11:23 -07:00
Kynan Ware
8ed2fc913c Clarify --clobber flag deletes assets before re-uploading
Update the help text and flag description for `gh release upload --clobber`
to make it clear that existing assets are deleted before new ones are uploaded,
and that original assets will be lost if the upload fails.

Fixes #8822

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-17 18:11:57 -07:00
Babak K. Shandiz
027adc7bf5
Merge pull request #12695 from cli/babakks/retrieve-workflow-dispatch-run-id
feat(workflow run): retrieve workflow dispatch run details
2026-02-17 20:37:53 +00:00
Kynan Ware
40dcfd6043
Merge pull request #12710 from cli/kw/document-gist-edit-file-replacement
Add usage examples to `gh gist edit` command
2026-02-17 13:35:10 -07:00
Kynan Ware
3af535902d Add usage examples to gh gist edit command
Add a cobra Example string to the gist edit command showing common
operations: interactive selection, editing in default editor, editing a
specific file, replacing file content, adding/removing files, and
changing the description.

Closes #8943

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-17 12:38:15 -07:00
Kynan Ware
560128bd73
Merge pull request #12708 from cli/kw/remove-feedback-template
Remove feedback issue template
2026-02-17 10:36:58 -07:00
Kynan Ware
4da3fc5713
Merge pull request #12707 from cli/kw/use-shared-pr-workflows
Migrate PR triage workflows to shared workflows
2026-02-17 10:36:42 -07:00
Kynan Ware
5f66c0e8b7 Remove feedback issue template
Delete the .github/ISSUE_TEMPLATE/feedback.md file
2026-02-17 08:07:02 -07:00
Kynan Ware
e90343db35 Migrate PR triage workflows to shared workflows
Replace prauto.yml and pr-help-wanted.yml with a single
triage-pull-requests.yml that calls shared reusable workflows from
desktop/gh-cli-and-desktop-shared-workflows:

- triage-label-external-pr: labels external PRs with external,needs-triage
- triage-close-from-default-branch: closes PRs opened from trunk
- triage-pr-requirements: enforces body length + help-wanted issue linkage
- triage-close-no-help-wanted: closes PRs labeled no-help-wanted-issue
- triage-ready-for-review: removes needs-triage on ready-for-review label

Also adds a daily schedule to auto-close PRs with unmet requirements
after 7 days.

Deletes:
- prauto.yml
- pr-help-wanted.yml
- scripts/check-help-wanted.sh

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-17 07:57:52 -07:00
Kynan Ware
f28380b98f
Merge pull request #12677 from cli/kw/use-shared-triage-workflows
Migrate issue triage workflows to shared workflows
2026-02-17 07:49:38 -07:00
Kynan Ware
e1983ce457 Rename triage workflow to triage-discussion-label
Rename .github/workflows/triage.yml to .github/workflows/triage-discussion-label.yml and update the workflow name from "Discussion Triage" to "Process Discuss Label" to better reflect its intent.
2026-02-17 07:32:35 -07:00
Kynan Ware
e861681139 Pass environment as input to shared triage workflow
The `environment` property cannot be set at the job level when using
`uses:` to call a reusable workflow. Pass it as a workflow input instead.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-17 07:27:01 -07:00
Kynan Ware
b77057d825
Merge pull request #12706 from cli/copilot/sub-pr-12677
Add missing environment and label check to triage workflow
2026-02-17 07:08:19 -07:00
copilot-swe-agent[bot]
8e6cdf7059 Add missing environment and label check to triage workflow
Co-authored-by: BagToad <47394200+BagToad@users.noreply.github.com>
2026-02-17 14:05:39 +00:00
copilot-swe-agent[bot]
772e677e73 Initial plan 2026-02-17 14:03:42 +00:00
Babak K. Shandiz
31f3756089
fix(workflow run): bail out on feature detection error
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-02-17 11:48:25 +00:00
Babak K. Shandiz
52eca96873
refactor(featuredetection): remove temp in favour of early returns
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-02-17 11:46:33 +00:00
Babak K. Shandiz
ce016217d0
docs(workflow run): improve help docs
Co-authored-by: Kynan Ware <47394200+BagToad@users.noreply.github.com>
2026-02-16 22:49:42 +00:00
Babak K. Shandiz
c47a10e583
docs(workflow run): add cleanup marker with explanation on future changes
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-02-16 22:02:18 +00:00
Babak K. Shandiz
36a85fd71f
fix(workflow run): apply url.PathEscape when compiling URL
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-02-16 21:55:25 +00:00
Babak K. Shandiz
3e9fbbb2fa
refactor(workflow run): remove temp out
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-02-16 21:53:17 +00:00
Kynan Ware
8d819c5584
Merge pull request #12701 from cli/kw/add-missing-fd-todos
Add missing TODO comments for featuredetection if-statements
2026-02-16 14:41:48 -07:00
Kynan Ware
9de48154de Add missing TODO comments for featuredetection if-statements
Add greppable TODO identifiers above all if-statements that reference
featuredetection struct fields, as required by the featuredetection
linter. This ensures every feature detection branch is tagged for
future cleanup when GHES gains support.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-16 14:24:32 -07:00
Babak K. Shandiz
61ab5e0b5d
docs(featuredetection): fix typo in comment
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-02-16 13:07:24 +00:00
Babak K. Shandiz
b64dd58d8b
test(featuredetection): fix test case name
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-02-16 13:06:23 +00:00