Skip to content

Commit

Permalink
Separate changelog workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-caron committed Jan 3, 2024
1 parent 2c8bf67 commit 35ab9b1
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 9 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Changelog

on:
pull_request:
branches: [ main ]

jobs:
changelog:
name: "Check changelog update"
runs-on: ubuntu-latest
steps:
- uses: tarides/changelog-check-action@v2
with:
changelog: CHANGELOG.md

changelog_success:
name: "Changelog success"
runs-on: ubuntu-latest
needs: [changelog]
steps:
- run: echo "Changelog workflow completed successfully"
10 changes: 1 addition & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@ on:
workflow_dispatch:

jobs:
changelog:
name: "Check changelog update"
runs-on: ubuntu-latest
steps:
- uses: tarides/changelog-check-action@v2
with:
changelog: CHANGELOG.md

coverage:
name: "Coverage"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -96,6 +88,6 @@ jobs:
ci_success:
name: "CI success"
runs-on: ubuntu-latest
needs: [changelog, coverage, lint, loader]
needs: [coverage, lint, loader]
steps:
- run: echo "CI workflow completed successfully"

0 comments on commit 35ab9b1

Please sign in to comment.