-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from TinkurLab/patching-2022-11
Patching 2022-11
- Loading branch information
Showing
12 changed files
with
1,087 additions
and
1,046 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
|
||
export GITHUB_TOKEN="12345" | ||
export GITHUB_REPOSITORY="tinkurlab/actions-playground" | ||
export GITHUB_EVENT_PATH="/monorepo-pr-labeler-action/tests/fixtures/actionTrigger.json" | ||
|
||
export BASE_DIRS="directory1|directory2" | ||
|
||
node app.js | ||
export BASE_DIRS="morecode|morecode2" | ||
export INPUT_PREFIX="prefix" | ||
export INPUT_SUFFIX="suffix" | ||
export INPUT_SEPARATOR="seperator" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules | ||
.DS_Store | ||
dev | ||
dev | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,7 @@ jobs: | |
- Optionally add a `BASE_DIRS` variable under `env` if modules are located within one or more base directory(ies). You can configure one (ex. `base_directory1`) or more directories (ex. `base_directory1|bae_directory2|...`). If `BASE_DIRS` isn't specified, the action will assume the base directories in the repo are your modules (ex. `base_directory1` is a module). | ||
- Add `prefix` or `suffix` under `with` if you wish to add prefix or suffix the repo name in the label respectively. | ||
- Add `separator` under `with` if you wish to add a separator between the prefix, label, and suffix. For example, using a single space character `' '` will add a space between them. By default, no separator is added. | ||
- Add `separator` under `with` if you wish to add a separator between the prefix, label, and suffix. For example, using a single space character `' '` will add a space between them. By default, no separator is added. | ||
|
||
### Example: Repos in sub directories | ||
|
||
|
@@ -105,8 +105,9 @@ jobs: | |
|
||
You can pin the action version (ex. `uses: tinkurlab/[email protected]`) to avoid issues due to breaking changes in major version updates. | ||
|
||
### Upgrading to v4.x.x | ||
Version 4.x.x changes the previous functionlity of v3.x.x which automatically added a space between the package name a prefix (if configured) or a suffix (if configured) when labeling pull requests. Starting with version 4.0.0, if a prefix or suffix is configured, an optional seperator can be configured via the `separator: ' '` property. This property can be used to add a space or other seperator. If no `separator` property is configured, no space or other seperator will be included in the label. It is recommended that you update your action configuration before upgrading to v4.x.x. | ||
### Upgrading to v4.x.x or > | ||
|
||
Version 4.x.x changes the previous functionlity of v3.x.x which automatically added a space between the package name a prefix (if configured) or a suffix (if configured) when labeling pull requests. Starting with version 4.0.0, if a prefix or suffix is configured, an optional seperator can be configured via the `separator: ' '` property. This property can be used to add a space or other seperator. If no `separator` property is configured, no space or other seperator will be included in the label. It is recommended that you update your action configuration before upgrading to v4.x.x. | ||
|
||
## Contributing | ||
|
||
|
@@ -121,4 +122,6 @@ This repo is maintained by: | |
|
||
## License | ||
|
||
[ISC](LICENSE) © 2021 Adam Zolyak <[email protected]> (www.tinkurlab.com) | ||
[ISC](LICENSE) © 2022 Adam Zolyak <[email protected]> (www.tinkurlab.com) | ||
|
||
 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.