Skip to content

Commit d1e09bb

Browse files
committed
*changing gh actions
1 parent c999e6e commit d1e09bb

9 files changed

Lines changed: 18 additions & 126 deletions

File tree

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
# Documentation
99
README.md
10-
CHANGELOG.md
1110
*.md
1211

1312
# Examples

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ master ]
66
pull_request:
7-
branches: [ main ]
7+
branches: [ master ]
88

99
env:
1010
GO_VERSION: '1.21'

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Docker
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ master ]
66
tags: [ 'v*' ]
77

88
env:
@@ -54,6 +54,6 @@ jobs:
5454
cache-from: type=gha
5555
cache-to: type=gha,mode=max
5656
build-args: |
57-
VERSION=${{ github.ref_name == 'main' && 'dev' || github.ref_name }}
57+
VERSION=${{ github.ref_name == 'master' && 'dev' || github.ref_name }}
5858
COMMIT=${{ github.sha }}
5959
DATE=${{ github.event.head_commit.timestamp }}

.github/workflows/release-drafter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Release Drafter
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ master ]
66
pull_request:
7-
branches: [ main ]
7+
branches: [ master ]
88
types: [ opened, reopened, synchronize ]
99

1010
jobs:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ jobs:
156156
157157
### 📋 What's New
158158
159-
Check the [changelog](https://github.com/${{ github.repository }}/blob/main/CHANGELOG.md) for detailed information about this release.
159+
Check the [releases page](https://github.com/${{ github.repository }}/releases) for detailed information about this release.
160160
161161
### 🚀 Quick Start
162162

CHANGELOG.md

Lines changed: 0 additions & 100 deletions
This file was deleted.

Makefile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ help:
3737
@echo ""
3838
@echo "🚀 Release:"
3939
@echo " release - Create a new release"
40-
@echo " changelog - Generate changelog"
40+
@echo ""
4141
@echo ""
4242
@echo "📋 Information:"
4343
@echo " version - Show current version"
@@ -162,13 +162,7 @@ release-local: build-all
162162
done
163163
@echo "✅ Local release packages created in dist/ directory"
164164

165-
changelog:
166-
@echo "📋 Generating changelog..."
167-
@if command -v conventional-changelog >/dev/null 2>&1; then \
168-
conventional-changelog -p angular -i CHANGELOG.md -s; \
169-
else \
170-
echo "⚠️ conventional-changelog not installed. Install with: npm install -g conventional-changelog-cli"; \
171-
fi
165+
172166

173167
# Information targets
174168
version:

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,6 @@ kalco/
354354
├── 📦 go.mod # Go module definition
355355
├── 🐳 Dockerfile # Container image definition
356356
├── 🔧 Makefile # Development and build commands
357-
├── 📋 CHANGELOG.md # Version history
358357
├── 📖 README.md # This file
359358
└── 📚 RELEASE_GUIDE.md # Release workflow guide
360359
```
@@ -424,7 +423,7 @@ Kalco uses comprehensive GitHub Actions workflows for quality assurance:
424423
- **🐳 Docker**: Multi-platform container builds and publishing
425424
- **🔒 Security**: Vulnerability scanning and dependency updates
426425

427-
- **📋 Documentation**: Automatic changelog generation and release notes
426+
- **📋 Documentation**: Automatic release note generation
428427

429428
See [RELEASE_GUIDE.md](RELEASE_GUIDE.md) for detailed workflow information.
430429

RELEASE_GUIDE.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ Kalco now has comprehensive GitHub Actions workflows that automatically:
1212
- 🚀 **Release** on GitHub with detailed release notes
1313
- 🔒 **Scan** for security vulnerabilities
1414
- 🧪 **Test** the quickstart script and all functionality
15-
- 📋 **Generate** changelogs automatically
15+
- 📋 **Generate** release notes automatically
1616

1717
## 🔄 Workflow Types
1818

1919
### 1. **CI Workflow** (`.github/workflows/ci.yml`)
20-
- **Triggers**: Push to main, Pull requests
20+
- **Triggers**: Push to master, Pull requests
2121
- **Purpose**: Continuous integration testing
2222
- **Actions**:
2323
- Run tests with race detection
@@ -57,7 +57,7 @@ Kalco now has comprehensive GitHub Actions workflows that automatically:
5757
- **Triggers**: Push to main, Pull requests
5858
- **Purpose**: Generate release notes
5959
- **Actions**:
60-
- Auto-generate changelog
60+
- Auto-generate release notes
6161
- Categorize changes
6262
- Create release drafts
6363

@@ -68,7 +68,7 @@ Kalco now has comprehensive GitHub Actions workflows that automatically:
6868
# Ensure all changes are committed and pushed
6969
git add .
7070
git commit -m "feat: add new feature"
71-
git push origin main
71+
git push origin master
7272
```
7373

7474
### **Step 2: Create and Push a Tag**
@@ -145,7 +145,7 @@ act push -W .github/workflows/ci.yml
145145
## 📊 Workflow Status
146146

147147
### **Required Status Checks**
148-
Before merging to main, ensure:
148+
Before merging to master, ensure:
149149
-**CI** - All tests pass
150150
-**Lint** - Code quality checks pass
151151
-**Security** - No vulnerabilities detected
@@ -232,7 +232,7 @@ gh run rerun <run-id>
232232
### **Version Management**
233233
- Use semantic versioning (`v1.0.0`, `v1.1.0`, `v2.0.0`)
234234
- Create tags from main branch only
235-
- Use conventional commit messages for auto-changelog
235+
- Use conventional commit messages for auto-release notes
236236

237237
### **Release Process**
238238
- Test locally before tagging
@@ -259,12 +259,12 @@ gh run rerun <run-id>
259259

260260
Before creating a release:
261261

262-
- [ ] All changes committed and pushed to main
262+
- [ ] All changes committed and pushed to master
263263
- [ ] CI workflow passing
264264
- [ ] Security scan clean
265265
- [ ] Quickstart test successful
266266
- [ ] Documentation updated
267-
- [ ] Changelog reviewed
267+
- [ ] Release notes reviewed
268268
- [ ] Version number decided
269269
- [ ] Release notes prepared
270270

0 commit comments

Comments
 (0)