mirror of
https://github.com/ivuorinen/gh-action-readme.git
synced 2026-02-28 00:54:50 +00:00
feat: update go version, renovate config, tooling, fixes (#28)
* feat(deps): update go version, renovate config, tooling * chore(deps): update google/go-github to v74 * feat(deps): migrate from yaml.v3 to goccy/go-yaml * chore(deps): update goccy/go-yaml to v1.18.0 and address security concerns * feat: improve issue templates and project configuration - Update GitHub issue templates with CLI-specific fields for better bug reports - Add specialized templates for documentation, theme, and performance issues - Update pre-commit config to include comprehensive documentation linting - Remove outdated Snyk configuration and security references - Update Go version from 1.23+ to 1.24+ across project - Streamline README.md organization and improve clarity - Update CHANGELOG.md and CLAUDE.md formatting - Create comprehensive CONTRIBUTING.md with development guidelines - Remove TODO.md (replaced by docs/roadmap.md) - Move SECURITY.md to docs/security.md * docs: fix markdown linting violations across documentation * fix: resolve template placeholder issues and improve uses statement generation * fix: remove trailing whitespace from GitHub issue template
This commit is contained in:
@@ -26,7 +26,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: {{.Name}}
|
||||
uses: your-org/{{.Name | lower | replace " " "-"}}@v1
|
||||
uses: {{gitUsesString .}}
|
||||
{{if .Inputs}}with:
|
||||
{{- range $key, $val := .Inputs}}
|
||||
{{$key}}: {{if $val.Default}}"{{$val.Default}}"{{else}}"value"{{end}}
|
||||
@@ -91,7 +91,7 @@ with:
|
||||
----
|
||||
- name: {{.Name}}
|
||||
id: action-step
|
||||
uses: your-org/{{.Name | lower | replace " " "-"}}@v1
|
||||
uses: {{gitUsesString .}}
|
||||
|
||||
- name: Use Output
|
||||
run: |
|
||||
@@ -108,7 +108,7 @@ with:
|
||||
[source,yaml]
|
||||
----
|
||||
- name: Basic {{.Name}}
|
||||
uses: your-org/{{.Name | lower | replace " " "-"}}@v1
|
||||
uses: {{gitUsesString .}}
|
||||
{{if .Inputs}}with:
|
||||
{{- range $key, $val := .Inputs}}
|
||||
{{$key}}: {{if $val.Default}}"{{$val.Default}}"{{else}}"example-value"{{end}}
|
||||
@@ -120,7 +120,7 @@ with:
|
||||
[source,yaml]
|
||||
----
|
||||
- name: Advanced {{.Name}}
|
||||
uses: your-org/{{.Name | lower | replace " " "-"}}@v1
|
||||
uses: {{gitUsesString .}}
|
||||
{{if .Inputs}}with:
|
||||
{{- range $key, $val := .Inputs}}
|
||||
{{$key}}: {{if $val.Default}}"{{$val.Default}}"{{else}}"\${{"{{"}} vars.{{$key | upper}} {{"}}"}}"{{end}}
|
||||
@@ -135,7 +135,7 @@ with:
|
||||
----
|
||||
- name: Conditional {{.Name}}
|
||||
if: github.event_name == 'push'
|
||||
uses: your-org/{{.Name | lower | replace " " "-"}}@v1
|
||||
uses: {{gitUsesString .}}
|
||||
{{if .Inputs}}with:
|
||||
{{- range $key, $val := .Inputs}}
|
||||
{{$key}}: {{if $val.Default}}"{{$val.Default}}"{{else}}"production-value"{{end}}
|
||||
|
||||
@@ -13,7 +13,7 @@ Add this action to your GitLab CI/CD pipeline or GitHub workflow:
|
||||
```yaml
|
||||
steps:
|
||||
- name: {{.Name}}
|
||||
uses: your-org/{{.Name | lower | replace " " "-"}}@v1
|
||||
uses: {{gitUsesString .}}
|
||||
{{if .Inputs}}with:
|
||||
{{- range $key, $val := .Inputs}}
|
||||
{{$key}}: {{if $val.Default}}{{$val.Default}}{{else}}value{{end}}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
## Usage
|
||||
|
||||
```yaml
|
||||
- uses: your-org/{{.Name | lower | replace " " "-"}}@v1
|
||||
- uses: {{gitUsesString .}}
|
||||
{{if .Inputs}}with:
|
||||
{{- range $key, $val := .Inputs}}
|
||||
{{$key}}: {{if $val.Default}}{{$val.Default}}{{else}}value{{end}}
|
||||
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: {{.Name}}
|
||||
uses: your-org/{{.Name | lower | replace " " "-"}}@v1
|
||||
uses: {{gitUsesString .}}
|
||||
{{if .Inputs}}with:
|
||||
{{- range $key, $val := .Inputs}}
|
||||
{{$key}}: {{if $val.Default}}"{{$val.Default}}"{{else}}"your-value-here"{{end}}
|
||||
@@ -102,7 +102,7 @@ This action provides the following outputs that can be used in subsequent workfl
|
||||
```yaml
|
||||
- name: {{.Name}}
|
||||
id: action-step
|
||||
uses: your-org/{{.Name | lower | replace " " "-"}}@v1
|
||||
uses: {{gitUsesString .}}
|
||||
|
||||
- name: Use Output
|
||||
run: |
|
||||
@@ -118,7 +118,7 @@ This action provides the following outputs that can be used in subsequent workfl
|
||||
|
||||
```yaml
|
||||
- name: Basic {{.Name}}
|
||||
uses: your-org/{{.Name | lower | replace " " "-"}}@v1
|
||||
uses: {{gitUsesString .}}
|
||||
{{if .Inputs}}with:
|
||||
{{- range $key, $val := .Inputs}}
|
||||
{{$key}}: {{if $val.Default}}"{{$val.Default}}"{{else}}"example-value"{{end}}
|
||||
@@ -129,7 +129,7 @@ This action provides the following outputs that can be used in subsequent workfl
|
||||
|
||||
```yaml
|
||||
- name: Advanced {{.Name}}
|
||||
uses: your-org/{{.Name | lower | replace " " "-"}}@v1
|
||||
uses: {{gitUsesString .}}
|
||||
{{if .Inputs}}with:
|
||||
{{- range $key, $val := .Inputs}}
|
||||
{{$key}}: {{if $val.Default}}"{{$val.Default}}"{{else}}"\${{"{{"}} vars.{{$key | upper}} {{"}}"}}"{{end}}
|
||||
@@ -143,7 +143,7 @@ This action provides the following outputs that can be used in subsequent workfl
|
||||
```yaml
|
||||
- name: Conditional {{.Name}}
|
||||
if: github.event_name == 'push'
|
||||
uses: your-org/{{.Name | lower | replace " " "-"}}@v1
|
||||
uses: {{gitUsesString .}}
|
||||
{{if .Inputs}}with:
|
||||
{{- range $key, $val := .Inputs}}
|
||||
{{$key}}: {{if $val.Default}}"{{$val.Default}}"{{else}}"production-value"{{end}}
|
||||
|
||||
Reference in New Issue
Block a user