Skip to content

Commit

Permalink
chore: hotfix workflow run rules (#79)
Browse files Browse the repository at this point in the history
* chore: fix the run rules for workflows

* chore: fix the run rules for workflows

* chore: fix the run rules for workflows
  • Loading branch information
Racer159 authored Mar 20, 2024
1 parent 3c46902 commit 81b5501
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ name: Scan
on:
# This workflow is triggered on pull requests to the main branch.
pull_request:

# This allows other repositories to call this workflow in a reusable way
workflow_call:
branches: [main]
types: [milestoned, opened, synchronize]

jobs:
validate:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Test
on:
pull_request:
branches: [main]
types: [milestoned, opened, edited, synchronize]
types: [milestoned, opened, synchronize]
paths-ignore:
- "**.md"
- "**.jpg"
Expand Down

0 comments on commit 81b5501

Please sign in to comment.