feature: migrate to self host actions

This commit is contained in:
RouxAntoine 2024-09-08 22:12:08 +02:00
parent d811d16d24
commit bad8fa89a3
Signed by: antoine
GPG Key ID: 098FB66FC0475E70

View File

@ -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,12 +37,12 @@ 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).