Commit Graph

180 Commits

Author SHA1 Message Date
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
Kevin Snyder e9fda13083 Remove try-catch blocks from tests
Signed-off-by: Kevin Snyder <kevin.snyder@gusto.com>
2025-04-15 11:11:34 -07:00
Kevin Snyder 995d0249e9 Add tests
Signed-off-by: Kevin Snyder <kevin.snyder@gusto.com>
2025-04-15 11:11:34 -07:00
Kevin Snyder e784ba9de0 Use action context logger in Octokit client
This will surface Octokit logs in the `OngoingTask` log stream.

For example, Octokit will now surface logs when GitHub API rate limits are hit. Previously these were only visible in the backend logs and did not use the structured Backstage logger.

Signed-off-by: Kevin Snyder <kevin.snyder@gusto.com>
2025-04-15 11:11:34 -07:00
Ben Lambert f324a1c002 Merge pull request #29488 from QuadmanSWE/assume-default-branch-main
Assume default branch "main" with scaffolder action publish:github
2025-04-15 12:01:51 +02:00
Ben Lambert c6de3e1631 Merge pull request #29283 from acierto/githubdeployKeycreate
Made "github:deployKey:create" action idempotent
2025-04-15 10:33:14 +02:00
David Söderlund 7bbd08b3e8 Changed value of defaultBranch from 'master' to 'main'.
Signed-off-by: David Söderlund <ds@dsoderlund.consulting>
2025-04-05 21:50:14 +02:00
David Söderlund b2ece20e2e Updated github tests to reflect that the default branch is expected to be "main" for new repos that get created.
Signed-off-by: David Söderlund <ds@dsoderlund.consulting>
2025-04-05 21:49:03 +02:00
Brett Wright 411c87960c Add support for allowing branch updates
This commit adds support for allowing branch updates when creating a GitHub repository. It introduces a new `allowUpdateBranch` property to the `createGithubRepoCreateAction` function, allowing users to specify whether updates to branches should be allowed. This enhancement provides more flexibility and control over repository management.

Signed-off-by: Brett Wright <wright.brett@gmail.com>
2025-03-21 08:10:08 +11:00
Bogdan Nechyporenko 49cf8b5f91 Merge pull request #29287 from acierto/publishgithub
Made "publish:github" action idempotent
2025-03-20 10:10:29 +01:00
Ben Lambert be6170924e Merge pull request #29286 from acierto/githubactionsdispatch
Made "github:actions:dispatch" action idempotent
2025-03-20 08:44:12 +01:00
Ben Lambert 62bdda816d Merge pull request #29285 from acierto/githubautolinkscreate
Made "github:autolinks:create" action idempotent
2025-03-20 08:43:53 +01:00
Bogdan Nechyporenko 0be1a1eeac Made "publish:github" action idempotent
Signed-off-by: Bogdan Nechyporenko <bnechyporenko@bol.com>
2025-03-18 20:31:03 +01:00
Bogdan Nechyporenko a833f0f46d Made "github:actions:dispatch" action idempotent
Signed-off-by: Bogdan Nechyporenko <bnechyporenko@bol.com>
2025-03-18 20:26:33 +01:00
Bogdan Nechyporenko 1af427ab0b Made "github:autolinks:create" action idempotent
Signed-off-by: Bogdan Nechyporenko <bnechyporenko@bol.com>
2025-03-18 20:24:23 +01:00
Bogdan Nechyporenko 180ea6eae4 Made "github:branch-protection:create" action idempotent
Signed-off-by: Bogdan Nechyporenko <bnechyporenko@bol.com>
2025-03-18 20:20:43 +01:00
Bogdan Nechyporenko 79dc5accff Made "github:deployKey:create" action idempotent
Signed-off-by: Bogdan Nechyporenko <bnechyporenko@bol.com>
2025-03-18 20:15:45 +01:00