Skip to content

Custom regexp #36

@Mats-Jakobsson

Description

@Mats-Jakobsson

Hi!

Fantastic initiative. I have a feature request though. Would it be possible to add the possibility to pass a custom regexp as an argument.

(In my case I would love to match on (companyName/SpecificRepo/)#(.*?)[0-9]+ since all my issues resides in one specific repo.)

So something like:

- name: Verify Linked Issue
  uses: hattan/[email protected]
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  with:
    regExp: "/(companyName\/SpecificRepo\/)#(.*?)[0-9]+/g"

Many thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions