Skip to content

Commit

Permalink
Move to a shared CHANGELOG system for the repository
Browse files Browse the repository at this point in the history
  • Loading branch information
lnhrdt committed Nov 4, 2024
1 parent ebd2d0f commit 10e48cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
name: load-env CI
name: CI

on:
push:
branches:
- main
paths:
- 'load-env/**'
pull_request:
branches:
- main
paths:
- 'load-env/**'

jobs:

Expand All @@ -23,6 +19,5 @@ jobs:
- name: Validate Changelog
uses: denisa/clq-action@v1
with:
changelog: load-env/CHANGELOG.md
changeMap: .github/clq/changemap.json
mode: feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: load-env Publish
name: Publish

on:
workflow_dispatch:
Expand All @@ -14,15 +14,14 @@ jobs:
uses: denisa/clq-action@v1
id: changelog
with:
changelog: load-env/CHANGELOG.md
changeMap: .github/clq/changemap.json
mode: release

- name: Validate Tag
uses: denisa/semantic-tag-helper@v1
with:
mode: test
tag: "load-env-${{ steps.changelog.outputs.tag }}"
tag: ${{ steps.changelog.outputs.tag }}

publish:
name: Publish
Expand All @@ -39,20 +38,19 @@ jobs:
uses: denisa/clq-action@v1
id: changelog
with:
changelog: load-env/CHANGELOG.md
changeMap: .github/clq/changemap.json
mode: release

- name: Set Tag
uses: denisa/semantic-tag-helper@v1
with:
mode: set
tag: "load-env-${{ steps.changelog.outputs.tag }}"
tag: ${{ steps.changelog.outputs.tag }}

- name: Create Release
uses: ncipollo/release-action@v1
with:
tag: "load-env-${{ steps.changelog.outputs.tag }}"
tag: ${{ steps.changelog.outputs.tag }}
prerelease: ${{ steps.changelog.outputs.status == 'prereleased' }}
name: "load-env ${{ steps.changelog.outputs.version }}"
name: ${{ steps.changelog.outputs.version }}
body: ${{ steps.changelog.outputs.changes }}
File renamed without changes.

0 comments on commit 10e48cd

Please sign in to comment.