restrict GitHub Actions to master branch and add workflow_dispatch trigger

This commit is contained in:
hathach committed 2026-03-19 10:34:52 +07:00
1 parent 545fc0534d
commit ac086326fe
1 file changed
+6 -1
+6 -1
View File
@@ -1,13 +1,18 @@
name: Build
on:
workflow_dispatch:
pull_request:
push:
repository_dispatch:
branches: [ master ]
release:
types:
- created
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
set-matrix:
runs-on: ubuntu-latest