Skip to content

Commit 15b9d2f

Browse files
skip: Merge pull request #17 from epam/feature/update_ci
Feature/update ci
2 parents 9e39c28 + beb5a73 commit 15b9d2f

File tree

3 files changed

+11
-34
lines changed

3 files changed

+11
-34
lines changed

.github/workflows/changelog.yml

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
11
name: Changelog
2-
3-
# Controls when the workflow will run
42
on:
5-
# Run this workflow manually from the Actions tab
6-
workflow_dispatch:
7-
8-
permissions:
9-
contents: 'write'
10-
3+
push:
4+
tags:
5+
- "v*.*"
116
jobs:
127
build:
138
name: Create Release
149
runs-on: ubuntu-latest
10+
# if: startsWith(github.ref, 'refs/tags/v')
1511
steps:
1612

1713
- name: Checkout code
18-
uses: actions/checkout@v3
19-
14+
uses: actions/checkout@v4
15+
2016
- name: Checkout action
2117
run: git clone -b main "https://git:[email protected]/epmc-sec/cloudlab/cloud_custodian/ecc-actions.git" ecc-actions
2218
env:
@@ -32,12 +28,8 @@ jobs:
3228
includeInvalidCommits: true
3329
excludeTypes: ""
3430

35-
- name: Commit CHANGELOG.md
36-
uses: ./ecc-actions/git-auto-commit-action
31+
- name: Release
32+
uses: softprops/action-gh-release@v2
3733
with:
38-
branch: changelog
39-
create_branch: true
40-
commit_message: 'skip: update CHANGELOG.md for ${{ github.ref_name }}'
41-
file_pattern: CHANGELOG.md
42-
reverseOrder: true
43-
excludeTypes: skip
34+
name: Release ${{ github.ref_name }}
35+
body: ${{ steps.changelog.outputs.changes }}

CHANGELOG.md

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

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0
1+
v2.0

0 commit comments

Comments
 (0)