Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tag name input to create github release reusable workflow #72

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/reusable-create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
type: string
required: true
description: 'Version to be published'
tag_to_publish:
type: string
required: false
description: 'Tag name to be published'

permissions:
contents: write
Expand Down Expand Up @@ -51,4 +55,5 @@ jobs:
uses: mikepenz/[email protected] #softprops/action-gh-release
with:
tag_name: v${{ inputs.version_to_publish }}
name: '${{ inputs.tag_to_publish }}@{${{ inputs.version_to_publish }}}'
body: ${{ steps.build_changelog.outputs.changelog }}
19 changes: 19 additions & 0 deletions docs/security/readme-reusable-secrets-scanning.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Workflow Configuration

## Name

Reusable secret scanning workflow

## Triggers

- Workflow Call
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix unordered list indentation.

The unordered list should have consistent indentation.

- - Workflow Call
+ - Workflow Call

Committable suggestion was skipped due to low confidence.

Tools
Markdownlint

9-9: Expected: 0; Actual: 1
Unordered list indentation

(MD007, ul-indent)


## Inputs

- Branch (string): required
- Depth (number): required, default is 2

## Secrets

- SLACK_BOT_TOKEN (required)
- SLACK_CHANNEL_ID_GITHUB_NOTIFICATION (required)
17 changes: 17 additions & 0 deletions docs/utility/readme-reusable-lint-go-workflow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Workflow Configuration

## Name

Reusable go linting workflow

## Triggers

- Workflow call
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix unordered list indentation.

The unordered list should have consistent indentation.

- - Workflow call
+ - Workflow call

Committable suggestion was skipped due to low confidence.

Tools
Markdownlint

9-9: Expected: 0; Actual: 1
Unordered list indentation

(MD007, ul-indent)


## Inputs

- Go Version (string): required, version of Go to lint

## Secrets

- N/A
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix unordered list indentation.

The unordered list should have consistent indentation.

- - N/A
+ - N/A

Committable suggestion was skipped due to low confidence.

Tools
Markdownlint

17-17: Expected: 0; Actual: 1
Unordered list indentation

(MD007, ul-indent)

17 changes: 17 additions & 0 deletions docs/utility/readme-reusable-timestamp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Workflow Configuration

## Name

Reusable timestamp workflow

## Triggers

- Workflow call
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix unordered list indentation.

The unordered list should have consistent indentation.

- - Workflow call
+ - Workflow call

Committable suggestion was skipped due to low confidence.

Tools
Markdownlint

9-9: Expected: 0; Actual: 1
Unordered list indentation

(MD007, ul-indent)


## Inputs

- Timezone (string): required, timezone of workflow, default is LA/America

## Secrets

- N/A