-
Notifications
You must be signed in to change notification settings - Fork 8
build: add release workflow configuration for GitHub Actions #56
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| name: Release | ||
|
|
||
| on: | ||
| push: | ||
| tags: | ||
| - '*' | ||
|
|
||
| jobs: | ||
| release: | ||
| uses: konradmichalik/reusable-github-actions/.github/workflows/release.yml@main | ||
|
Comment on lines
+9
to
+10
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: # Check if the file exists and examine its content
cat -n .github/workflows/release.ymlRepository: konradmichalik/db-sync-tool Length of output: 291 Pin the reusable workflow to an immutable ref (tag or SHA). Using 🔧 Suggested change (example)- uses: konradmichalik/reusable-github-actions/.github/workflows/release.yml@main
+ uses: konradmichalik/reusable-github-actions/.github/workflows/release.yml@<TAG_OR_SHA>🤖 Prompt for AI Agents |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: konradmichalik/db-sync-tool
Length of output: 291
🏁 Script executed:
Repository: konradmichalik/db-sync-tool
Length of output: 326
🏁 Script executed:
Repository: konradmichalik/db-sync-tool
Length of output: 53
🏁 Script executed:
Repository: konradmichalik/db-sync-tool
Length of output: 3290
🏁 Script executed:
Repository: konradmichalik/db-sync-tool
Length of output: 967
🏁 Script executed:
cat CONTRIBUTING.md | head -100Repository: konradmichalik/db-sync-tool
Length of output: 1922
Use a stricter tag pattern to prevent accidental releases.
The wildcard pattern
'*'will trigger releases on any tag, including test, lightweight, or accidental tags. The repository's release documentation explicitly requires Semantic Versioning with tags in the formatvX.Y.Z. Update the pattern to'v*.*.*'to ensure only versioned releases trigger the workflow.Suggested change
on: push: tags: - - '*' + - 'v*.*.*'📝 Committable suggestion
🤖 Prompt for AI Agents