Pipeline fail in project with no CI configuration

We’re also facing this issue with a new member, it gets triggered with no jobs with every commit.
CI is configured to be triggered when tag is pushed.
Here is the file:

image: jangrewe/gitlab-ci-android

variables:
  ANDROID_COMPILE_SDK: "29"
  ANDROID_BUILD_TOOLS: "29.0.3"
  ANDROID_SDK_TOOLS:   "6609375"

cache:
  key: ${CI_PROJECT_ID}
  paths:
    - .gradle/

before_script:
  - apt-get update && apt-get install -y curl git jq
  - export GRADLE_USER_HOME=$(pwd)/.gradle
  - chmod +x ./gradlew

stages:
  - build

assembleDebug:
  stage: build
  only:
    - tags
  script:
    - ./gradlew assembleDebug
    ..........................................
    ..........................................

Screenshot 2021-07-12 at 3.37.20 AM
Screenshot 2021-07-12 at 3.38.08 AM