We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a8b018 commit 103a60bCopy full SHA for 103a60b
1 file changed
.github/workflows/minecraft-maven-version-bump.yml
@@ -7,10 +7,12 @@ name: "Version Bump Check"
7
on:
8
pull_request:
9
branches: [ "main" ]
10
- branches-ignore: [ "ci/*" ]
11
jobs:
12
ensure-version-bump:
13
- if: ${{ github.base_ref == 'main' || github.base_ref == 'master' }}
+ if: ${{ (github.base_ref == 'main' || github.base_ref == 'master') && !(
+ startsWith(github.head_ref, 'ci/') ||
14
+ startsWith(github.head_ref, 'doc/')
15
+ )}}
16
runs-on: ubuntu-latest
17
18
steps:
@@ -50,4 +52,4 @@ jobs:
50
52
VERSION="${{ steps.pr_ver.outputs.value }}"
51
53
if [[ "$VERSION" == *"-SNAPSHOT"* ]]; then
54
echo "::warning title=Snapshot Version Detected::The version contains '-SNAPSHOT'. Consider removing it before release."
- fi
55
+ fi
0 commit comments