ci: Update 'branches' setting in a few workflows

The goal is to ensure that tags are consistently excluded from
triggering these workflows.
json-serializing-nullable-fields-issue
Robert Dailey 9 months ago
parent c4bd5b2fae
commit 2d97d47b17

@ -3,8 +3,8 @@ name: Inspect Code
on:
push:
# Explicitly specifying this results in tags being ignored, which is the goal.
branches: ["**"]
tags: ["!**"]
paths:
- .github/workflows/inspect-code.yml
- '**.cs'

@ -3,6 +3,8 @@ name: Markdown Lint
on:
push:
# Explicitly specifying this results in tags being ignored, which is the goal.
branches: ["**"]
paths:
- "**.md"
- .github/workflows/markdown-lint.yml

@ -5,15 +5,13 @@ on:
# Do not run on pull-request because the required tokens
# cannot be read from there.
push:
# Explicitly specifying this results in tags being ignored, which is the goal.
branches: ["**"]
paths:
- .github/workflows/sonarcloud.yml
- sonar-project.properties
- "src/**"
# Explicitly specifying this results in tags being ignored, which is the goal.
branches:
- "**"
env:
dotnetVersion: "7.0.x"

Loading…
Cancel
Save