* Try to skip extra checks in the CI for up to date PRs in merge queue. * Try to simplify check * Remove expression syntax from `if`s
17 lines
437 B
YAML
17 lines
437 B
YAML
name: "Validate Gradle Wrapper"
|
|
on:
|
|
pull_request:
|
|
merge_group:
|
|
push:
|
|
branches: [ main, develop ]
|
|
|
|
jobs:
|
|
validation:
|
|
name: "Validation"
|
|
if: github.event.merge_group.base_ref != 'refs/heads/develop'
|
|
runs-on: ubuntu-latest
|
|
# No concurrency required, this is a prerequisite to other actions and should run every time.
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: gradle/wrapper-validation-action@v1
|