Skip to content

Commit

Permalink
feat: bot commits now triggers eslint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
CNSeniorious000 committed Jun 30, 2024
1 parent 5e9bda3 commit 39f0edb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: eslint check

on: [push, pull_request, workflow_dispatch]
on: [push, pull_request, workflow_dispatch, workflow_call]

jobs:
check:
Expand All @@ -10,6 +10,8 @@ jobs:
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v4
- name: Pull changes
run: git pull
- uses: oven-sh/setup-bun@v1
- name: Install modules
run: bun install
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/taze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- cron: 0 0 * * *

jobs:
npm:
update:
runs-on: ubuntu-latest
permissions:
contents: write
Expand All @@ -28,3 +28,6 @@ jobs:
git add package.json
git commit -m 'chore(deps): update dependencies'
git push
lint:
needs: update
uses: ./.github/workflows/eslint.yml

0 comments on commit 39f0edb

Please sign in to comment.