Skip to content

Commit

Permalink
Merge pull request #66 from FelixVita/patch-1
Browse files Browse the repository at this point in the history
Update README to explain how to use labels w/ emojis
  • Loading branch information
TimonVS committed Nov 13, 2022
2 parents 6f5dd39 + 8ad7547 commit e0d9125
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -35,11 +35,15 @@ For example:
```yml
feature: ['feature/*', 'feat/*']
fix: fix/*
chore: chore/*
chore :hammer:: chore/*
```

Then if a pull request is opened with the branch name `feature/218-add-emoji-support` the Action will automatically apply the `feature` label.

Similarly, if a pull requests is opened with the branch name `fix/weird-bug` or `chore/annual-refactoring-job`, the Action will apply the `fix` or `chore 🔨` label, respectively.

If the label does not exist in your repo, a new one will be created (with no color and blank description), but it will not be permanently saved to the `github.com/<your_repo>/labels` page.

### Wildcard branches in configuration

You can use `*` as a wildcard for matching multiple branch names. See https://www.npmjs.com/package/matcher for more information about wildcard options.
Expand Down

0 comments on commit e0d9125

Please sign in to comment.