Commit Graph

196 Commits

Author SHA1 Message Date
Jan Michael Ong f388853791 chore: fix tsdoc-characters-after-block-tag warning
Signed-off-by: Jan Michael Ong <adobejmong@gmail.com>
2026-04-22 12:14:41 -07:00
Jan Michael Ong e72787948c chore: fix Warning: (ae-forgotten-export)
Signed-off-by: Jan Michael Ong <adobejmong@gmail.com>
2026-04-22 12:01:06 -07:00
Jan Michael Ong a50f4ec818 chore: incorporate additional copilot suggestions
Signed-off-by: Jan Michael Ong <adobejmong@gmail.com>
2026-04-22 11:35:23 -07:00
Jan Michael Ong 547b91de03 chore: switch retryOptions to an options object
Signed-off-by: Jan Michael Ong <adobejmong@gmail.com>
2026-04-22 11:14:47 -07:00
Jan Michael Ong ad3e56f4ac chore: fix incorrect placement
Signed-off-by: Jan Michael Ong <adobejmong@gmail.com>
2026-04-22 10:02:24 -07:00
Jan Michael Ong 9032ec7f1e chore: integrate copilot / awanlin feedback
Signed-off-by: Jan Michael Ong <adobejmong@gmail.com>
2026-04-22 09:53:01 -07:00
Jan Michael Ong 3b460c2e22 fix: add missing export
Signed-off-by: Jan Michael Ong <adobejmong@gmail.com>
2026-04-22 09:19:53 -07:00
Jan Michael Ong e351c07daa chore: add helper to get an octokit client
* add unit tests

Signed-off-by: Jan Michael Ong <adobejmong@gmail.com>
2026-04-22 09:03:49 -07:00
Patrik Oldsberg b2319ffe45 errors: add toError utility and migrate assertError usages
Add a `toError` utility function to `@backstage/errors` that converts
unknown values to `ErrorLike` objects. If the value is already error-like
it is returned as-is. Strings are used directly as the error message, and
other values are stringified with a fallback to JSON.stringify to avoid
unhelpful `[object Object]` messages.

Non-error causes passed to `CustomErrorBase` are now converted and stored
using `toError` rather than discarded. Existing `assertError` call sites
across the codebase are migrated to `toError`.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-04-03 10:16:23 +02:00
Gabriel Dugny 49171c9de4 chore: Update all imports to zod/v3
Signed-off-by: Gabriel Dugny <gabriel.dugny@believe.com>
2026-03-17 16:48:42 +01:00
Andre Wanlin b33e0498fd Merge pull request #33132 from abdellahhn/scaffolder-add-run-id-return-value-to-github-actions-dispatch-v2
feat(scaffolder): add returnWorkflowRunDetails to github:actions:dispatch action
2026-03-13 13:58:16 -05:00
abdellahhanane ad0adafaea Add check on workflowRunHtmlUrl is not undefined
Signed-off-by: abdellahhanane <abdellahhanane44@gmail.com>
2026-03-12 13:41:43 -04:00
abdellahhanane 5fbe51d713 Add log for the workflow run url
Signed-off-by: abdellahhanane <abdellahhanane44@gmail.com>
2026-03-11 21:27:58 -04:00
Timothy Deakin b2591f6ce0 fix: update env waittime description
Signed-off-by: Timothy Deakin <cftad@protonmail.com>
2026-03-06 17:34:37 +00:00
abdellahhanane df21ef6330 Apply copilot comments and fix CI
Signed-off-by: abdellahhanane <abdellahhanane44@gmail.com>
2026-03-05 08:21:35 -05:00
abdellahhanane 2a278818ff feat(scaffolder): add returnWorkflowRunDetails to github:actions:dispatch action
Signed-off-by: abdellahhanane <abdellahhanane44@gmail.com>
2026-03-04 22:37:10 -05:00
Fredrik Adelöw 7455dae884 require the use of node prefix on native imports
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2026-01-26 13:22:53 +01:00
Phred Lane 82ca951c00 refactor: updated GitHub repo creation to make differences clear (#32052)
* refactor: updated repo creation to make differences clear

Signed-off-by: Phred <fearphage@gmail.com>

* added changeset

Signed-off-by: Phred <fearphage@gmail.com>

* revertrted variable cleanup based on review comments

Signed-off-by: Phred <fearphage@gmail.com>

* cleaned up types

Signed-off-by: Phred <fearphage@gmail.com>

---------

Signed-off-by: Phred <fearphage@gmail.com>
2026-01-23 16:44:07 +01:00
Fredrik Adelöw 07eded33e6 fix failing test in master (#32387)
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2026-01-20 17:25:33 +01:00
Phred eaf5af6397 fixed typo
Signed-off-by: Phred <fearphage@gmail.com>
2026-01-02 13:00:26 -06:00
Phred bb7088be42 feat: support setting workflow access level during repo creation
Signed-off-by: Phred <fearphage@gmail.com>
2026-01-02 12:35:38 -06:00
Benjamin Janssens 5ce3294f8d chore: fix typo; use correct variable
Signed-off-by: Benjamin Janssens <benji.janssens@gmail.com>
2025-12-15 15:55:53 +01:00
Benjamin Janssens f326bfc4a9 Update plugins/scaffolder-backend-module-github/src/autocomplete/autocomplete.ts
Co-authored-by: Ben Lambert <ben@blam.sh>
Signed-off-by: Benjamin Janssens <benji.janssens@gmail.com>
2025-12-15 15:45:20 +01:00
Benjamin Janssens 6c5a34ebf8 feat: add RepoOwnerPicker
Signed-off-by: Benjamin Janssens <benji.janssens@gmail.com>
2025-12-10 17:10:12 +01:00
benjdlambert c8aa21077c chore: last bits
Signed-off-by: benjdlambert <ben@blam.sh>
2025-09-23 16:38:54 +02:00
Adam Östör aee107ba37 feat(scaffolder): add auto_init option for repository creation and examples
Signed-off-by: Adam Östör <adam.ostor@fundingcircle.com>
2025-09-15 12:44:32 +01:00
Fredrik Adelöw 118f509bf3 Merge pull request #31052 from praphull-purohit/github-provider-block-creations
Add block creations field to github branch protection scaffolder action
2025-09-15 11:26:32 +02:00
Fredrik Adelöw b1cdefe845 Merge pull request #30511 from danilgotvyansky/danilgotvyansky/scaffolder-backend-module-github/github_issues_create
feat(scafolder): scaffolder-backend-module-github implement github:issues:create
2025-09-15 11:20:31 +02:00
Praphull Purohit 0211067164 Remove blockCreations defaulting
Apply suggestion from @schultzp2020

Co-authored-by: Paul Schultz <pschultz@pobox.com>
Signed-off-by: Praphull Purohit <1288395+praphull-purohit@users.noreply.github.com>
2025-09-09 16:10:28 +02:00
Praphull 2f79f0bac8 Fix tests in examples
Signed-off-by: Praphull <1288395+praphull-purohit@users.noreply.github.com>
2025-09-03 15:54:59 +02:00
Praphull f2be6858ae Update tests
Signed-off-by: Praphull <1288395+praphull-purohit@users.noreply.github.com>
2025-09-03 15:40:51 +02:00
Praphull 02f3d81160 Add block creations field to github branch protection scaffolder action
Signed-off-by: Praphull <1288395+praphull-purohit@users.noreply.github.com>
2025-09-03 15:28:41 +02:00
adrian-321 a22cce0ed8 Fixed bug in the customProperties type
Signed-off-by: adrian-321 <adrian.gardiner1@gmail.com>
2025-08-01 16:54:13 +10:00
Danylo Hotvianskyi 16ee5911eb Add notices
Signed-off-by: Danylo Hotvianskyi <danilgotvyansky@gmail.com>
2025-07-11 18:27:29 +02:00
Danylo Hotvianskyi c985173cdf feat(scafolder): scaffolder-backend-module-github implement github:issues:create
Signed-off-by: Danylo Hotvianskyi <danilgotvyansky@gmail.com>
2025-07-11 18:15:39 +02:00
Kevin Snyder ed5c1d43d1 Fix typo in scaffolder-backend-module-github InputError
Signed-off-by: Kevin Snyder <kevin.snyder@gusto.com>
2025-07-08 15:25:11 -07:00
Phred 411ed753b2 removed Object.assign usage based on code review
Signed-off-by: Phred <fearphage@gmail.com>
2025-06-24 08:46:09 +02:00
Phred 265dd73dcf refactored based on reviewer feedback to use filesToDelete array
Signed-off-by: Phred <fearphage@gmail.com>
2025-06-24 08:46:09 +02:00
Phred 116468461f moved variable within test scope
Signed-off-by: Phred <fearphage@gmail.com>
2025-06-24 08:46:09 +02:00
Phred f36bcf9086 allow file deletion in pull requests
Signed-off-by: Phred <fearphage@gmail.com>
2025-06-24 08:46:08 +02:00
benjdlambert 3bfa1d392f chore: small tweaks
Signed-off-by: benjdlambert <ben@blam.sh>
2025-06-05 15:28:22 +02:00
benjdlambert 04c0b15da7 feat: migrating things to using catalogService and removing older exports
Signed-off-by: benjdlambert <ben@blam.sh>
2025-06-05 14:29:22 +02:00
benjdlambert c701c34391 chore: smaller changes
Signed-off-by: benjdlambert <ben@blam.sh>
2025-06-04 11:25:25 +02:00
benjdlambert 88ccfc17ea chore: refactor
Signed-off-by: benjdlambert <ben@blam.sh>
2025-06-04 09:23:14 +02:00
benjdlambert 575c76b13f chore: use new actions format
Signed-off-by: benjdlambert <ben@blam.sh>
2025-06-04 08:02:29 +02:00
Gabriel Dugny 72d019d663 chore(typos): Fix low-impact typos
Signed-off-by: Gabriel Dugny <gabriel.dugny@believe.com>
2025-04-23 17:56:22 +02:00
Ben Lambert ed39f53e0d Merge pull request #29483 from KevinSnyderCodes/use-action-context-logger-in-octokit-client
Use action context logger in Octokit client
2025-04-22 13:33:25 +02:00
pmckl 251b21fe6c add example with test
Signed-off-by: pmckl <peter.lajos@outlook.com>
2025-04-15 23:53:32 +02:00
pmckl 368e7fee26 add tests
Signed-off-by: pmckl <peter.lajos@outlook.com>
2025-04-15 23:53:32 +02:00
pmckl 49da0ff52f add assignees to publish pr action
Signed-off-by: pmckl <peter.lajos@outlook.com>
2025-04-15 23:53:32 +02:00