Skip to content

Commit 833a9b8

Browse files
🚦 [Feature]: Trigger release paths on main pushes
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent fb1bdb8 commit 833a9b8

3 files changed

Lines changed: 28 additions & 3 deletions

File tree

.github/workflows/Release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
name: Release
22

3-
run-name: "Release - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}"
3+
run-name: "Release - ${{ github.event_name }} [${{ github.event.pull_request.title || github.event.head_commit.message || github.ref_name }}] by @${{ github.actor }}"
44

55
on:
6+
push:
7+
branches:
8+
- main
9+
paths:
10+
- '.github/actions/**'
11+
- '.github/workflows/**'
12+
- '!.github/workflows/Release.yml'
13+
- '!.github/workflows/Linter.yml'
14+
- '!.github/workflows/Workflow-Test-*'
615
pull_request:
716
branches:
817
- main

.github/workflows/Workflow-Test-Default.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
name: Workflow-Test [Default]
22

3-
run-name: 'Workflow-Test [Default] - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}'
3+
run-name: 'Workflow-Test [Default] - ${{ github.event_name }} [${{ github.event.pull_request.title || github.event.head_commit.message || github.ref_name }}] by @${{ github.actor }}'
44

55
on:
66
workflow_dispatch:
7+
push:
8+
branches:
9+
- main
10+
paths:
11+
- '.github/actions/**'
12+
- '.github/workflows/**'
13+
- '!.github/workflows/Release.yml'
14+
- '!.github/workflows/Linter.yml'
715
pull_request:
816
paths:
917
- '.github/actions/**'

.github/workflows/Workflow-Test-WithManifest.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
name: Workflow-Test [WithManifest]
22

3-
run-name: 'Workflow-Test [WithManifest] - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}'
3+
run-name: 'Workflow-Test [WithManifest] - ${{ github.event_name }} [${{ github.event.pull_request.title || github.event.head_commit.message || github.ref_name }}] by @${{ github.actor }}'
44

55
on:
66
workflow_dispatch:
7+
push:
8+
branches:
9+
- main
10+
paths:
11+
- '.github/actions/**'
12+
- '.github/workflows/**'
13+
- '!.github/workflows/Release.yml'
14+
- '!.github/workflows/Linter.yml'
715
pull_request:
816
paths:
917
- '.github/actions/**'

0 commit comments

Comments
 (0)