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 10 months ago
parent c4bd5b2fae
commit 2d97d47b17

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

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

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

Loading…
Cancel
Save