Skip to content

Retest on Comment

Retest on Comment #20

Workflow file for this run

name: Retest on Comment
on:
issue_comment:
types: [created, edited, deleted]
permissions:
contents: read
issues: write
jobs:
retest:
if: contains(toLower(github.event.comment.body), 'retest')

Check failure on line 13 in .github/workflows/gradle-retest.yml

View workflow run for this annotation

GitHub Actions / Retest on Comment

Invalid workflow file

The workflow is not valid. .github/workflows/gradle-retest.yml (Line: 13, Col: 9): Unrecognized function: 'toLower'. Located at position 10 within expression: contains(toLower(github.event.comment.body), 'retest')
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
lfs: false
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- name: Create .env file
run: |
echo "${{ secrets.ALL_SECRET }}" > .env
- name: Set up Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.8
- name: Cache Gradle packages
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
gradle-${{ runner.os }}
- name: Run tests
env:
SPRING_PROFILES_ACTIVE: local
ACTIONS_RUNNER_DEBUG: true
ACTIONS_STEP_DEBUG: true
run: |
./gradlew -g gradle/caches/ \
--build-cache --no-daemon \
test