Error while saving a new trigger in workflow editor v2

Hello!

I’m using the workflow editor v2, version 1.0.0.
After adding a new trigger I tried saving it and received the below message:

What I’ve tried doing:

  • Restarting the workflow editor,
  • Relogging to Bitrise,
  • Logging in from an incognito tab.

Let me know if there’s some more information I can provide from my side.

Cheers!

Hi, could you provide a link to the app, or post the contents of the app’s bitrise.yml file here?

---
format_version: 1.3.1
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
workflows:
  dev-deploy:
    steps:
    - activate-ssh-key@3.1.1:
        run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
    - git-clone@3.4.1: {}
    - install-missing-android-tools@0.9.2: {}
    - file-downloader@0.9.1:
        inputs:
        - source: "$BITRISEIO_keystore_URL"
        - destination: "$HOME/keystores/android_keystore.jks"
    - gradle-runner@1.5.4:
        inputs:
        - gradle_task: "$GRADLE_TASK"
    - fastlane@2.3.7:
        title: fastlane test
        inputs:
        - lane: test
    - deploy-to-bitrise-io@1.2.7: {}
    - fastlane@2.3.7:
        title: fastlane beta
        inputs:
        - lane: beta
  dev-build:
    steps:
    - activate-ssh-key@3.1.1:
        run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
    - git-clone@3.4.3: {}
    - install-missing-android-tools@1.0.2: {}
    - file-downloader@0.9.1:
        inputs:
        - source: "$BITRISEIO_keystore_URL"
        - destination: "$HOME/keystores/android_keystore.jks"
    - gradle-runner@1.5.6:
        inputs:
        - gradle_task: "$GRADLE_TASK"
    - fastlane@2.3.9:
        title: fastlane test
        inputs:
        - lane: test
    - deploy-to-bitrise-io@1.2.9: {}
  release-deploy:
    steps:
    - activate-ssh-key@3.1.1:
        run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
    - git-clone@3.4.3: {}
    - install-missing-android-tools@1.0.2: {}
    - file-downloader@0.9.1:
        inputs:
        - source: "$BITRISEIO_keystore_URL"
        - destination: "$HOME/keystores/android_keystore.jks"
    - gradle-runner@1.5.6:
        inputs:
        - gradle_task: "$GRADLE_TASK"
    - fastlane@2.3.9:
        title: fastlane test
        inputs:
        - lane: test
    - deploy-to-bitrise-io@1.2.9: {}
    - fastlane@2.3.9:
        title: fastlane release
        inputs:
        - lane: deloitte-prod
app:
  envs:
  - opts:
      is_expand: false
    GRADLE_BUILD_FILE_PATH: build.gradle
  - opts:
      is_expand: false
    GRADLE_TASK: assembleRelease
  - opts:
      is_expand: false
    GRADLEW_PATH: "./gradlew"

What kind of trigger item did you try to add? (Push, PR, tag)

I tried adding all three kinds of items. Just confirmed that the problem only exists for tag triggers.

You’re correct, there is a bug in the code when trying to add tag trigger. Thanks for reporting, a fix will be released in a few hours

No problem, thanks for a quick response and taking care of it!

Hi, the website has been updated with the fix. It is also fixed in the offline mode of the editor (v1.0.1). Thanks again for reporting.

Just a note: if you’d still see this happen, please try to reload the editor/browser page a couple of times - we did see caching issues, will fix it soon.