Skip to content

Commit

Permalink
refactor: rename breaking-changes-label to commit-message-based-labels (
Browse files Browse the repository at this point in the history
#269)

PR Close #269
  • Loading branch information
josephperrott committed Oct 18, 2021
1 parent be91a4f commit 3648f59
Show file tree
Hide file tree
Showing 13 changed files with 30 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./github-actions/breaking-changes-label
- uses: ./github-actions/commit-message-based-labels
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
2 changes: 1 addition & 1 deletion .ng-dev/commit-message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const commitMessage: CommitMessageConfig = {
'remote-execution',
]),
...buildScopesFor('github-actions', [
'breaking-changes-label',
'commit-message-based-labels',
'feature-request',
'lock-closed',
'rebase',
Expand Down
4 changes: 2 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ github-actions/feature-request/post.js
github-actions/feature-request/main.js
github-actions/lock-closed/main.js
github-actions/lock-closed/post.js
github-actions/breaking-changes-label/main.js
github-actions/breaking-changes-label/post.js
github-actions/commit-message-based-labels/main.js
github-actions/commit-message-based-labels/post.js
github-actions/slash-commands/main.js
github-actions/slash-commands/post.js
tools/local-actions/changelog/main.js
Expand Down
19 changes: 0 additions & 19 deletions github-actions/breaking-changes-label/BUILD.bazel

This file was deleted.

19 changes: 19 additions & 0 deletions github-actions/commit-message-based-labels/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
load("//tools:defaults.bzl", "esbuild_checked_in")

esbuild_checked_in(
name = "post",
entry_point = "//github-actions/commit-message-based-labels/lib:post.ts",
external = ["ts-node"],
deps = [
"//github-actions/commit-message-based-labels/lib",
],
)

esbuild_checked_in(
name = "main",
entry_point = "//github-actions/commit-message-based-labels/lib:main.ts",
external = ["ts-node"],
deps = [
"//github-actions/commit-message-based-labels/lib",
],
)
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
load("//tools:defaults.bzl", "ts_library")

package(default_visibility = ["//github-actions/breaking-changes-label:__subpackages__"])
package(default_visibility = ["//github-actions/commit-message-based-labels:__subpackages__"])

exports_files([
"main.ts",
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ng-dev/commit-message/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ts_library(
exclude = ["**/*.spec.ts"],
),
visibility = [
"//github-actions/breaking-changes-label:__subpackages__",
"//github-actions/commit-message-based-labels:__subpackages__",
"//ng-dev:__subpackages__",
],
deps = [
Expand Down
2 changes: 1 addition & 1 deletion ng-dev/pr/config/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ts_library(
name = "config",
srcs = ["index.ts"],
visibility = [
"//github-actions/breaking-changes-label/lib:__pkg__",
"//github-actions/commit-message-based-labels/lib:__pkg__",
"//ng-dev:__subpackages__",
],
deps = [
Expand Down

0 comments on commit 3648f59

Please sign in to comment.