GithubHelp home page GithubHelp logo

clowdhaus / actions Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 1.79 MB

Collection of :octocat: GitHub actions

License: Apache License 2.0

JavaScript 17.81% TypeScript 82.19%
github github-actions

actions's People

Contributors

bryantbiggs avatar claus-cli avatar dependabot[bot] avatar dncrews avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

actions's Issues

Using `\*` within the title regex appears to cause a failure.

Describe the bug

Using \* within the title regex appears to cause a failure.

To Reproduce

Using this config:

      - name: Check PR Title
        uses: clowdhaus/actions/pr-title
        with:
          on-fail-message: "Your PR title doesn't match the required format. The title should be in the conventional commit (https://www.conventionalcommits.org/en/v1.0.0-beta.4/) format. e.g.\n\n```\nchore: add pr title workflow\n```. Note that scopes should not contain spaces."
          title-regex: '^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\((\*|[\w|,|\-|\|]+)\))?(!)?\:\s.*'
          github-token: ${{ secrets.GITHUB_TOKEN }}

Attempt to validate a PR title of fix(*): use tsup (again) to produce compatible esm and cjs builds

Expected behavior

As evidenced by testing the regex manually:

/^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\((\*|[\w|,|\-|\|]+)\))?(!)?\:\s.*/.test('fix(*): use tsup (again) to produce compatible esm and cjs builds')

The regular expression is valid and the PR title provided as an example passes test. The workflow shouldn't be failing.

Screenshots

n/a

Environment (please complete the following information):

A failing workflow can be seen here: https://github.com/shellscape/jsx-email/actions/runs/6595077760/job/17919681726?pr=42#step:3:6

Additional context

Add any other context about the problem here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.