Update: Refactor trigger events in test workflow to specify push conditions and paths
This commit is contained in:
@@ -1,5 +1,15 @@
|
|||||||
name: Test Action
|
name: Test Action
|
||||||
on: [push, workflow_dispatch]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- '.gitea/workflows/test.yml'
|
||||||
|
- 'action.yml'
|
||||||
|
- 'src/**'
|
||||||
|
- 'dist/**'
|
||||||
|
- 'package.json'
|
||||||
|
- 'package-lock.json'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
|||||||
Reference in New Issue
Block a user