Skip to content
Merged
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
32 changes: 21 additions & 11 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,34 @@ title: '[BUG] '
labels: bug
assignees: ''
---
**Describe the bug**

## Describe the bug

A clear and concise description of what the bug is.

**To Reproduce**
## To Reproduce

Steps to reproduce the behavior:

1. Run command '...'
2. With arguments '....'
3. See error

**Expected behavior**
## Expected behavior

A clear and concise description of what you expected to happen.

**Environment (please complete the following information):**
- OS: [e.g. Ubuntu 20.04]
- Shell: [e.g. bash, zsh, PowerShell]
- AWS CLI Version: [e.g. 2.11.0]
- SSM Plugin Version: [e.g. 1.2.463.0]
## Environment

Please complete the following information:

- OS: [e.g. Ubuntu 20.04]
- Shell: [e.g. bash, zsh, PowerShell]
- AWS CLI Version: [e.g. 2.11.0]
- SSM Plugin Version: [e.g. 1.2.463.0]

## Output of tool check command

**Output of tool check command**
```
# For SSM issues:
Paste the output of `ssm check` here
Expand All @@ -32,5 +41,6 @@ Paste the output of `ssm check` here
Paste the output of `authaws check` here
```

**Additional context**
Add any other context about the problem here.
## Additional context

Add any other context about the problem here.
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ title: '[FEATURE] '
labels: enhancement
assignees: ''
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Expand All @@ -15,6 +16,7 @@ A clear and concise description of what you want to happen.
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**

- Tool affected: [e.g., ssm, authaws, both]
- AWS Region(s) affected: [e.g., all regions, specific regions]
- OS Environment: [e.g., Linux, MacOS, Windows]
Expand All @@ -28,8 +30,9 @@ If applicable, add examples of how the feature would work, maybe with mock comma
Optional: If you have any ideas about how this could be implemented, share them here.

**Feature checklist**

- [ ] This feature maintains backward compatibility
- [ ] This feature requires documentation updates
- [ ] This feature requires new dependencies
- [ ] This feature affects multiple regions
- [ ] This feature requires AWS CLI/SSM plugin changes
- [ ] This feature requires AWS CLI/SSM plugin changes
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/region_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ title: '[REGION] '
labels: enhancement, region
assignees: ''
---

**AWS Region Details**

- AWS Region Name: [e.g. eu-west-2]
- Location/City: [e.g. London]
- Proposed Shortcode: [e.g. euw2]
Expand All @@ -14,9 +16,10 @@ assignees: ''
Link to AWS documentation confirming this region.

**Region Status**

- [ ] Region is generally available
- [ ] Region supports SSM
- [ ] Region is accessible in my account

**Additional context**
Add any other context about the region request here.
Add any other context about the region request here.
96 changes: 48 additions & 48 deletions .github/workflows/auto-generate-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,52 +12,52 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Need full history for changelog generation
- name: Extract version from branch name
id: version
run: |
VERSION=${GITHUB_REF#refs/heads/release/}
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "Extracted version: $VERSION"
- name: Get latest release tag
id: latest_tag
run: |
LATEST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
echo "latest_tag=$LATEST_TAG" >> $GITHUB_OUTPUT
echo "Latest tag: ${LATEST_TAG:-'(none found)'}"
- name: Generate release documentation
run: |
# Make script executable
chmod +x tools/02_release_docs_generator.sh
# Run the release documentation generator
if [ -n "${{ steps.latest_tag.outputs.latest_tag }}" ]; then
./tools/02_release_docs_generator.sh \
--version "${{ steps.version.outputs.version }}" \
--latest-tag "${{ steps.latest_tag.outputs.latest_tag }}" \
--force
else
./tools/02_release_docs_generator.sh \
--version "${{ steps.version.outputs.version }}" \
--force
fi
- name: Commit generated documentation and version updates
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add CHANGELOG.md RELEASE_NOTES.txt ztictl/Makefile ztictl/cmd/ztictl/root.go
if git diff --staged --quiet; then
echo "No changes to commit"
else
git commit -m "Auto-generate changelog, release notes, and update version to ${{ steps.version.outputs.version }}"
git push
fi
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Need full history for changelog generation

- name: Extract version from branch name
id: version
run: |
VERSION=${GITHUB_REF#refs/heads/release/}
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "Extracted version: $VERSION"

- name: Get latest release tag
id: latest_tag
run: |
LATEST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
echo "latest_tag=$LATEST_TAG" >> $GITHUB_OUTPUT
echo "Latest tag: ${LATEST_TAG:-'(none found)'}"

- name: Generate release documentation
run: |
# Make script executable
chmod +x tools/02_release_docs_generator.sh

# Run the release documentation generator
if [ -n "${{ steps.latest_tag.outputs.latest_tag }}" ]; then
./tools/02_release_docs_generator.sh \
--version "${{ steps.version.outputs.version }}" \
--latest-tag "${{ steps.latest_tag.outputs.latest_tag }}" \
--force
else
./tools/02_release_docs_generator.sh \
--version "${{ steps.version.outputs.version }}" \
--force
fi

- name: Commit generated documentation and version updates
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add CHANGELOG.md RELEASE_NOTES.txt ztictl/Makefile ztictl/cmd/ztictl/root.go
if git diff --staged --quiet; then
echo "No changes to commit"
else
git commit -m "Auto-generate changelog, release notes, and update version to ${{ steps.version.outputs.version }}"
git push
fi
Loading
Loading