Suppress markdown link check on release branches (#5560)

This commit is contained in:
Trask Stalnaker 2022-03-14 02:07:23 -07:00 committed by GitHub
parent 4b43b6e1fb
commit d47f5d952b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -51,6 +51,11 @@ jobs:
uses: ./.github/workflows/examples.yml
markdown-link-check:
# release branches are excluded
# because links to external urls can break at any time which requires unnecessary release branch
# maintenance, especially for patches (and also because the README.md javaagent download link
# has to be updated on release branches before the release download has been published)
if: ${{ !startsWith(github.ref_name, 'v') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

View File

@ -44,7 +44,7 @@ jobs:
cache-read-only: true
muzzle:
# release branches are excluded
# release branch PRs are excluded
# because any time a new library version is released to maven central it can fail
# which requires unnecessary release branch maintenance, especially for patches
if: ${{ !startsWith(github.base_ref, 'v') }}