Skip to content

chore(deps): update wagoid/commitlint-github-action action to v6 (wor… #33

chore(deps): update wagoid/commitlint-github-action action to v6 (wor…

chore(deps): update wagoid/commitlint-github-action action to v6 (wor… #33

Workflow file for this run

name: Push
on: push
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
commitlint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Lint Commit
uses: wagoid/commitlint-github-action@v6
release:
name: Publish new release
needs: [lint, commitlint]
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@v3
with:
semantic_version: 19
extra_plugins: |
@semantic-release/[email protected]
@semantic-release/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}