Skip to content

Commit 12131dc

Browse files
committed
chore: switch over to unique name across repository
1 parent 55fb4a1 commit 12131dc

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/continuous-integration.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ jobs:
2727
- name: checkout code
2828
uses: actions/checkout@v4
2929

30-
- name: pull request title validation
31-
uses: ./ # kontrolplane/pull-request-title-validation@latest
30+
- name: pull request title validator
31+
uses: ./ # kontrolplane/pull-request-title-validator@latest

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM golang:1.21.3 AS build
22
WORKDIR /action
33
COPY . .
4-
RUN CGO_ENABLED=0 go build -o pull-request-title-validation
4+
RUN CGO_ENABLED=0 go build -o pull-request-title-validator
55

66
FROM alpine:latest
7-
COPY --from=build /action/pull-request-title-validation /pull-request-title-validation
8-
ENTRYPOINT ["/pull-request-title-validation"]
7+
COPY --from=build /action/pull-request-title-validator /pull-request-title-validator
8+
ENTRYPOINT ["/pull-request-title-validator"]

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# pull-request-title-validation
1+
# pull-request-title-validator
22

3-
The `pull-request-title-validation` GitHub Action helps ensuring that contributors provide informative and well-formatted titles - based on the [conventional-commits] specification. The titles of the pull request could then be used to create automated releases.
3+
The `pull-request-title-validator` GitHub Action helps ensuring that contributors provide informative and well-formatted titles - based on the [conventional-commits] specification. The titles of the pull request could then be used to create automated releases.
44

55
[conventional-commits]: https://www.conventionalcommits.org/en/v1.0.0/
66

@@ -31,10 +31,10 @@ permissions:
3131
pull-requests: read
3232

3333
jobs:
34-
validation:
34+
validator:
3535
name: validate-pull-request-title
3636
runs-on: ubuntu-latest
3737
steps:
3838
- name: validate pull request title
39-
uses: kontrolplane/pull-request-title-validation@v1
39+
uses: kontrolplane/pull-request-title-validator@v1
4040
```

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/kontrolplane/pull-request-title-validation
1+
module github.com/kontrolplane/pull-request-title-validator
22

33
go 1.21.1
44

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type Event struct {
1818
PullRequest PullRequest `json:"pull_request"`
1919
}
2020

21-
// The pull-request-title-validation function mankes sure that for each pull request created the
21+
// The pull-request-title-validator function mankes sure that for each pull request created the
2222
// title of the pull request adheres to a desired structure, in this case convention commit style.
2323
func main() {
2424
githubEventName := os.Getenv("GITHUB_EVENT_NAME")

0 commit comments

Comments
 (0)