pr-update-action icon indicating copy to clipboard operation
pr-update-action copied to clipboard

Don't fail the action if the branch name doesn't match?

Open benrowe-chuffed opened this issue 2 years ago • 2 comments

Thanks for your GH action.

It would be nice if there was an option to not fail the step if the branch name does not match.

benrowe-chuffed avatar May 16 '22 23:05 benrowe-chuffed

Use the native branches: filter so it only runs on a given branch pattern

eg:

# .github/workflows/action.yml
on:
  pull_request:
    types:
      - opened
    branches:
      - main

jfeldstein-cw avatar Nov 30 '23 19:11 jfeldstein-cw