Skip to content

Commit 4e4eed2

Browse files
committed
enables pull requests on main branch
Adds pull request trigger to the mkdocs workflow.
1 parent 4a77411 commit 4e4eed2

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

.github/workflows/homebrew.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,16 @@ jobs:
1919
name: Bump Homebrew formula
2020
runs-on: macos-latest
2121
steps:
22-
- name: Get version
22+
-
23+
name: Get version
2324
id: get-version
2425
shell: pwsh
2526
run: |
2627
$version = "${{ github.event.client_payload.tag }}"
2728
if ($version -eq "") {
2829
$version = "${{ github.event.inputs.tag-name }}"
2930
}
30-
"version=$version" >> $env:GITHUB_OUTPUT
31+
"version=$version" >> $env:GITHUB_OUTPUT
3132
-
3233
uses: mislav/bump-homebrew-formula-action@v3
3334
name: Bump Homebrew formula
@@ -40,4 +41,4 @@ jobs:
4041
4142
For additional details see https://github.com/GitTools/GitVersion/releases/tag/${{ steps.get-version.outputs.version }}
4243
env:
43-
COMMITTER_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
44+
COMMITTER_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}

.github/workflows/mkdocs.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
name: Markdown Update
22
on:
33
push:
4+
branches:
5+
- main
6+
- 'fix/*'
7+
- 'feature/*'
8+
- 'poc/*'
9+
- 'support/*'
10+
paths:
11+
- 'docs/**'
12+
13+
pull_request:
14+
branches:
15+
- main
16+
- 'support/*'
17+
paths:
18+
- 'docs/**'
419

520
env:
621
DOTNET_ROLL_FORWARD: "Major"

0 commit comments

Comments
 (0)