Skip to content

Commit

Permalink
fix: commitlint tsconfig workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
muselesscreator committed Aug 4, 2023
1 parent 21bdbab commit bd447fb
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/commitlint.action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Run commitlint on the commit messages in a pull request.

name: Lint Commit Messages

on:
- workflow_call

jobs:
commitlint:
runs-on: ubuntu-20.04
uses: openedx/.github/.github/workflows/commitlint.yml@master
14 changes: 13 additions & 1 deletion .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,16 @@ on:

jobs:
commitlint:
uses: openedx/.github/.github/workflows/commitlint.yml@master
runs-on: ubuntu-20.04
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: ls
run: ls ../;
- name: remove tsconfig.json
run: |
rm tsconfig.json
- name: Check commits
uses: wagoid/commitlint-github-action@v5

0 comments on commit bd447fb

Please sign in to comment.