8000 Add GitHub required status checks for pull requests (#3) · cloudposse/github-status-updater@c5fbda3 · GitHub
[go: up one dir, main page]

Skip to content

Commit c5fbda3

Browse files
authored
Add GitHub required status checks for pull requests (#3)
* Rename vars * Update `README` * Update `README` * Add `update_state` and `update_branch_protection` actions * Update var descriptions * Update settings * Update examples * Rename repo * Update `README` * Update `README` * Update images * Update `README` * Update `README` * Update `README` * Update `README` * Update `README` and images * Update `README` and images * Update `README` * Update `README` * Update `README` * Update `README` * Update `README` * Update `README` * Update `README` * Update `README` * Get the existing branch protection and copy all the fields to not override them * Update `README` and images
1 parent 4867701 commit c5fbda3

17 files changed

+407
-147
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.idea
22
*.iml
33
dist/bin/*
4-
github-commit-status
4+
github-status-updater
55
.build-harness
66

77
# Binaries for programs and plugins

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
FROM golang:1.9.3 as builder
2-
RUN mkdir -p /go/src/github.com/cloudposse/github-commit-status
3-
WORKDIR /go/src/github.com/cloudposse/github-commit-status
2+
RUN mkdir -p /go/src/github.com/cloudposse/github-status-updater
3+
WORKDIR /go/src/github.com/cloudposse/github-status-updater
44
COPY . .
5-
RUN go get && CGO_ENABLED=0 go build -v -o "./dist/bin/github-commit-status" *.go
5+
RUN go get && CGO_ENABLED=0 go build -v -o "./dist/bin/github-status-updater" *.go
66

77

88
FROM alpine:3.6
99
RUN apk add --no-cache ca-certificates
10-
COPY --from=builder /go/src/github.com/cloudposse/github-commit-status/dist/bin/github-commit-status /usr/bin/github-commit-status
10+
COPY --from=builder /go/src/github.com/cloudposse/github-status-updater/dist/bin/github-status-updater /usr/bin/github-status-updater
1111
ENV PATH $PATH:/usr/bin
12-
ENTRYPOINT ["github-commit-status"]
12+
ENTRYPOINT ["github-status-updater"]

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ go-get:
1212

1313
.PHONY : go-build
1414
go-build: go-get
15-
CGO_ENABLED=0 go build -v -o "./dist/bin/github-commit-status" *.go
15+
CGO_ENABLED=0 go build -v -o "./dist/bin/github-status-updater" *.go

0 commit comments

Comments
 (0)
0