Skip to content

Commit

Permalink
ci: merge workflows
Browse files Browse the repository at this point in the history
Since the `commits` and `license-header` workflows are very simple and share the same trigger, it made sense to merge both in a single workflow
  • Loading branch information
torives committed Nov 24, 2023
1 parent 5fdca9f commit 29e04aa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 31 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/commits.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Check license header
name: Check repository conventions

on: push

on:
push:
paths:
- ".github/workflows/license-header.yml"
- ".github/license-check"
- "cmd/**"
- "internal/**"
- "offchain/**"
jobs:
check-copyright:
check-conventions:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: viperproject/check-license-header@v2

- name: Check conventional commit
uses: cocogitto/cocogitto-action@v3
with:
check-latest-tag-only: true

- name: Check license header
uses: viperproject/check-license-header@v2
with:
path: ./
config: .github/license-check/config.json

0 comments on commit 29e04aa

Please sign in to comment.