Skip to content

Commit

Permalink
Update template.yaml to remove custom field extension and create a RE…
Browse files Browse the repository at this point in the history
…ADME file
  • Loading branch information
0GiS0 committed Apr 29, 2024
1 parent f352b9a commit 15044d1
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ spec:
type: string
title: Project Name
description: The name of the project
ui:autofocus: true
ui:field: ValidateKebabCase # Custom field extension
ui:autofocus: true
# ui:field: ValidateKebabCase # Custom field extension
description:
title: Description
type: string
Expand Down Expand Up @@ -78,16 +78,16 @@ spec:
destination: ${{ parameters.repoUrl | parseRepoUrl }}
repoUrl: ${{ parameters.repoUrl }}
system: ${{ parameters.system }}
- id: acme:file:create
name: Create a README file
action: acme:file:create
input:
filename: README.md
contents: |
# ${{ parameters.name }}
${{ parameters.description }}
# - id: acme:file:create
# name: Create a README file
# action: acme:file:create
# input:
# filename: README.md
# contents: |
# # ${{ parameters.name }}
# ${{ parameters.description }}

This is a new .NET 8 project created with 💚 using Backstage.
# This is a new .NET 8 project created with 💚 using Backstage.
- id: publish
name: Publish
action: publish:github
Expand All @@ -101,15 +101,15 @@ spec:
defaultBranch: main
secrets: { MY_SECRET: This is a secret }
variables: { MY_VARIABLE: This is a variable }
- id: github:ghas:configure
name: Configure GitHub Advanced Security
action: github:ghas:configure
input:
repoUrl: ${{ parameters.repoUrl }}
code_scanning: enabled
secret_scanning: enabled
push_secret_protection: enabled
dependabot: enabled
# - id: github:ghas:configure
# name: Configure GitHub Advanced Security
# action: github:ghas:configure
# input:
# repoUrl: ${{ parameters.repoUrl }}
# code_scanning: enabled
# secret_scanning: enabled
# push_secret_protection: enabled
# dependabot: enabled
- id: github-action
name: Stating GitHub action
action: github:actions:dispatch
Expand Down

0 comments on commit 15044d1

Please sign in to comment.