Skip to content

Commit

Permalink
Merge e876b5f into 75a200c
Browse files Browse the repository at this point in the history
  • Loading branch information
CatChen authored Jun 14, 2024
2 parents 75a200c + e876b5f commit 9a20b5d
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 20 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/build-dependabot.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches: [main]
pull_request:
branches: [main, '[0-9]+-[0-9]+-*']
workflow_run:
workflows: ['Dependabot']
types:
- completed
workflow_dispatch:
workflow_call:
inputs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Test for Dependabot
name: Dependabot

on:
pull_request:
branches: [main, '[0-9]+-[0-9]+-*']
workflow_dispatch:

jobs:
dependabot-test:
name: Test for Dependabot
dependabot:
name: Dependabot
if: ${{ !startsWith(github.head_ref, 'workflows/tests/') && github.actor == 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,17 @@ on:
branches: [main]
pull_request:
branches: [main, '[0-9]+-[0-9]+-*']
workflow_run:
workflows: ['Dependabot']
types:
- completed
workflow_dispatch:
workflow_call:
inputs:
ref:
description: 'Checkout a different git ref instead of the SHA from the GitHub event.'
required: false
type: string

jobs:
eslint:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
branches: [main, '[0-9]+-[0-9]+-*']
workflow_run:
workflows: ['Test for Dependabot']
workflows: ['Dependabot']
types:
- completed
workflow_dispatch:
Expand Down

0 comments on commit 9a20b5d

Please sign in to comment.