issues-helper icon indicating copy to clipboard operation
issues-helper copied to clipboard

[Question] For `label` property how to represent multiple labels?

Open melloware opened this issue 1 year ago • 3 comments

IF I have this...

labels: "Resolution: Cannot Replicate Status: Needs Reproducer"

How does your code know to do Resolution: Cannot Replicate AND Status: Needs Reproducer should it be comma separated?

melloware avatar Nov 13 '23 13:11 melloware

Resolution: Cannot Replicate,Status: Needs Reproducer

xrkffgg avatar Nov 23 '23 08:11 xrkffgg

Yeah that did not seem to work i wonder if it didn't like the spaces? So I broke it into two separate queries and that works.

steps:
      - name: Cannot Replicate
        uses: actions-cool/issues-helper@v3
        with:
          actions: "close-issues"
          labels: "Resolution: Cannot Replicate"
          inactive-day: 20
      - name: Needs Reproducer
        uses: actions-cool/issues-helper@v3
        with:
          actions: "close-issues"
          labels: "Status: Needs Reproducer"
          inactive-day: 20

melloware avatar Nov 23 '23 13:11 melloware

ok, i will check

xrkffgg avatar Nov 24 '23 01:11 xrkffgg