Skip to content

Commit f2bde23

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

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Markdown Update
22
on:
33
push:
44

5+
pull_request:
6+
branches:
7+
- main
58
env:
69
DOTNET_ROLL_FORWARD: "Major"
710
DOTNET_CLI_TELEMETRY_OPTOUT: 1

0 commit comments

Comments
 (0)