Remove 'allowedHosts' from Publish action input in template files

Signed-off-by: gaelgoth <gothuey.gael@gmail.com>
This commit is contained in:
gaelgoth
2025-07-04 07:43:32 +02:00
parent f4906890ba
commit c4a0830215
8 changed files with 20 additions and 22 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/create-app': patch
---
Removed deprecated 'allowedHosts' field from GitHub Publish action input in default template files to fix validation errors with strict Zod validation.
@@ -10,6 +10,7 @@ Airbrakes
ajv
Alaria
Alef
allowedHosts
allowlisted
Anddddd
Apdex
@@ -103,6 +104,8 @@ deliverables
denormalized
dependabot
deps
dequeue
dequeueing
deserialization
destructured
destructuring
@@ -112,8 +115,6 @@ devcontainer
devcontainers
devops
devs
dequeue
dequeueing
dialogs
disambiguator
discoverability
@@ -151,8 +152,8 @@ FireHydrant
Firekube
Firestore
Fiverr
Flightcontrol
flightcontrol
Flightcontrol
Francesco
Frontside
Gaurav
@@ -176,8 +177,8 @@ Hackathons
haproxy
hardcoded
hardcoding
Harness
harness
Harness
Helidon
Henneke
Heroku
@@ -200,9 +201,10 @@ Indal
indexable
ingestors
inlined
inlining
inlinehilite
inlining
integrator's
intellij
interop
interoperate
iterable
@@ -313,8 +315,8 @@ OpenSearch
OpenShift
openssl
orgs
Overridable
overridable
Overridable
padding
paddings
pagerduty
@@ -381,10 +383,10 @@ retryable
reusability
Reusability
roadmaps
rollbar
rollout
Roboto
rollbar
Rollbar
rollout
Rollup
routable
Routable
@@ -400,9 +402,10 @@ sanitization
scaffolded
scaffolder
Scaffolder
scrollbar
SCM
SCMs
scrollable
scrollbar
sdks
seb
semlas
@@ -410,14 +413,15 @@ semver
sendmail
serializable
Serverless
severities
shoutout
SIG
signoff
SIGs
siloed
Sinon
snackbars
snackbar
snackbars
Snyk
Sonarqube
sourcemaps
@@ -488,6 +492,7 @@ transpiled
transpiler
transpilers
truthy
tsconfig
TSDoc
typeahead
ui
@@ -538,7 +543,3 @@ zod
Zolotusky
zoomable
zsh
scrollable
severities
intellij
tsconfig
@@ -727,7 +727,6 @@ spec:
name: Publish
action: publish:github
input:
allowedHosts: ['github.com']
description: 'This is {{ parameters.name }}'
repoUrl: '{{ parameters.repoUrl }}'
@@ -68,7 +68,6 @@ spec:
name: Publish
action: publish:github
input:
allowedHosts: ['github.com']
description: This is ${{ parameters.name }}
repoUrl: ${{ parameters.repoUrl }}
defaultBranch: 'main'
@@ -79,7 +79,6 @@ writing nice `yaml` files that just work.
spec:
steps:
input:
allowedHosts: ['github.com']
# highlight-remove-next-line
description: 'This is {{ parameters.name }}'
# highlight-add-next-line
@@ -79,7 +79,6 @@ spec:
name: Publish
action: publish:github
input:
allowedHosts: ['github.com']
description: This is ${{ parameters.name }}
repoUrl: ${{ parameters.repoUrl }}
defaultBranch: 'main'
@@ -505,7 +504,6 @@ spec:
name: Publish
action: publish:github
input:
allowedHosts: ['github.com']
description: This is ${{ parameters.name }}
repoUrl: ${{ parameters.repoUrl }}
# here's where the secret can be used
@@ -54,7 +54,6 @@ spec:
name: Publish
action: publish:github
input:
allowedHosts: ['github.com']
description: This is ${{ parameters.name }}
repoUrl: ${{ parameters.repoUrl }}
defaultBranch: 'main'
@@ -99,7 +99,6 @@ describe('TemplateEditorToolbarTemplatesMenu', () => {
name: 'Publish',
action: 'publish:github',
input: {
allowedHosts: ['github.com'],
description: 'This is ${{ parameters.component_id }}',
repoUrl: '${{ parameters.repoUrl }}',
},
@@ -205,7 +204,6 @@ describe('TemplateEditorToolbarTemplatesMenu', () => {
name: 'Publish',
action: 'publish:github',
input: {
allowedHosts: ['github.com'],
description: 'This is ${{ parameters.component_id }}',
repoUrl: '${{ parameters.repoUrl }}',
},