feature: migrate to self host actions
This commit is contained in:
parent
d811d16d24
commit
bad8fa89a3
@ -28,7 +28,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: "contains(github.event.head_commit.message, 'CI') != true"
|
if: "contains(github.event.head_commit.message, vars.SKIP_CI_PREFIX) != true"
|
||||||
steps:
|
steps:
|
||||||
- uses: action/checkout@<latest_tag>
|
- uses: action/checkout@<latest_tag>
|
||||||
with:
|
with:
|
||||||
@ -37,15 +37,15 @@ jobs:
|
|||||||
|
|
||||||
# ... do some CI habitual stuff
|
# ... do some CI habitual stuff
|
||||||
|
|
||||||
- uses: RouxAntoine/auto-changie@<latest_tag>
|
- uses: https://antoine-roux.tk/projects/actions/auto-changie@<latest_tag>
|
||||||
|
|
||||||
- name: Push changelog
|
- name: Push changelog
|
||||||
uses: stefanzweifel/git-auto-commit-action@<latest_tag>
|
uses: stefanzweifel/git-auto-commit-action@<latest_tag>
|
||||||
with:
|
with:
|
||||||
commit_message: "CI: Push updated changelog"
|
commit_message: "${{ vars.SKIP_CI_PREFIX }} Push updated changelog"
|
||||||
```
|
```
|
||||||
|
|
||||||
This pipeline clone code update changelog with auto-changie and push it to main thanks to [git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action).
|
This pipeline clone code update changelog with auto-changie and push it to main thanks to [git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action).
|
||||||
|
|
||||||
> Notice the use of `fetch-depth: 0` should be set.
|
> Notice the use of `fetch-depth: 0` should be set.
|
||||||
> Indeed without this not all commit are retrieve and auto-changie fail to find all commit updated since previous run.
|
> Indeed without this not all commit are retrieve and auto-changie fail to find all commit updated since previous run.
|
||||||
|
Loading…
Reference in New Issue
Block a user