Skip to content

Commit b97add7

Browse files
fix: explicitly set tag_name in release workflow (#197)
* fix: explicitly set tag_name in release workflow Without explicit tag_name, softprops/action-gh-release relies on GITHUB_REF being correct at runtime. If anything goes wrong (re-runs, race conditions with tag deletion/recreation), the release ends up untagged (e.g. untagged-bfb61f621c7818a82994). Also pins the CHANGELOG.md link to the tag so it resolves correctly in draft releases before publication. * chore: add kiro steering file for PR conventions Ensures the contributor statement required by CI is always included when creating PRs via Kiro CLI. * fix: add language identifier to fenced code block (MD040) --------- Co-authored-by: Scott Schreckengaust <345885+scottschreckengaust@users.noreply.github.com>
1 parent 9491dea commit b97add7

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,13 @@ jobs:
6060
if: steps.version.outputs.skip != 'true'
6161
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
6262
with:
63+
tag_name: ${{ steps.version.outputs.tag }}
6364
draft: true
6465
name: "AI-DLC Workflow v${{ steps.version.outputs.version }}"
6566
body: |
6667
Release v${{ steps.version.outputs.version }}
6768
68-
See [CHANGELOG.md](CHANGELOG.md) for details.
69+
See [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/${{ steps.version.outputs.tag }}/CHANGELOG.md) for details.
6970
7071
## Downloads
7172
- **ai-dlc-rules** - Rules format (Amazon Q, Kiro, etc.)

.kiro/steering/pr-conventions.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Pull Request Conventions
2+
3+
When creating pull requests in this repository, always include the following in the PR body:
4+
5+
1. Use the structure from `.github/pull_request_template.md`
6+
2. The PR description MUST end with this contributor statement (required by CI):
7+
8+
```text
9+
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the [project license](https://github.com/awslabs/aidlc-workflows/blob/main/LICENSE).
10+
```
11+
12+
Without this statement, the `Require Contributor Statement` CI check will fail.

0 commit comments

Comments
 (0)