git-repo-sync icon indicating copy to clipboard operation
git-repo-sync copied to clipboard

break: only meaningful in a `for', `while', or `until' loop

Open donni106 opened this issue 9 months ago • 1 comments

My GitHub Action argues about the break here:

https://github.com/wangchucheng/git-repo-sync/blob/63782025e80e84c48b25a1ee6bb9a22a3bd570d3/entrypoint.sh#L12

Weird is, that it worked for some time, and since then, this error occurs. Anyone came across this before?

donni106 avatar Feb 17 '25 15:02 donni106

I guess the problem is, that I am triggering the workflow depending on another one with

on:
  workflow_run:
    workflows: ["other workflow name"]
    types:
      - completed

This way some env vars are not correct?

It works when running with

on:
  push:
    branches:
      - master

donni106 avatar Feb 17 '25 15:02 donni106