mirror of
https://github.com/natelandau/obsidian-metadata.git
synced 2025-11-17 09:23:40 -05:00
ci: run on push in main only
This commit is contained in:
7
.github/workflows/commit-linter.yml
vendored
7
.github/workflows/commit-linter.yml
vendored
@@ -2,11 +2,14 @@
|
|||||||
name: Commit Linter
|
name: Commit Linter
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
|
||||||
types: [opened, reopened]
|
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- reopened
|
||||||
|
- synchronize
|
||||||
|
|
||||||
permissions: # added using https://github.com/step-security/secure-workflows
|
permissions: # added using https://github.com/step-security/secure-workflows
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
9
.github/workflows/devcontainer-checker.yml
vendored
9
.github/workflows/devcontainer-checker.yml
vendored
@@ -3,14 +3,17 @@ name: "Dev Container Checker"
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
pull_request:
|
push:
|
||||||
types: [opened, reopened]
|
|
||||||
paths:
|
paths:
|
||||||
- ".devcontainer/**"
|
- ".devcontainer/**"
|
||||||
- ".github/workflows/devcontainer-checker.yml"
|
- ".github/workflows/devcontainer-checker.yml"
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
push:
|
pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- reopened
|
||||||
|
- synchronize
|
||||||
paths:
|
paths:
|
||||||
- ".devcontainer/**"
|
- ".devcontainer/**"
|
||||||
- ".github/workflows/devcontainer-checker.yml"
|
- ".github/workflows/devcontainer-checker.yml"
|
||||||
|
|||||||
Reference in New Issue
Block a user