Skip to content

Commit e08c403

Browse files
committed
Update readme and typo
1 parent a730fb3 commit e08c403

File tree

6 files changed

+11
-2
lines changed

6 files changed

+11
-2
lines changed

.changelog/46.trivial.md

Whitespace-only changes.

.github/workflows/ci-lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ on:
2121
- .changelog/*.md
2222
- CHANGELOG.md
2323

24+
permissions:
25+
contents: read
26+
2427
# Cancel in-progress jobs on same branch.
2528
concurrency:
2629
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/ci-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ on:
2121
- .changelog/*.md
2222
- CHANGELOG.md
2323

24+
permissions:
25+
contents: read
26+
2427
# Cancel in-progress jobs on same branch.
2528
concurrency:
2629
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/prepare-release.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ on:
2929
- .changelog/*.md
3030
- CHANGELOG.md
3131

32+
permissions:
33+
contents: read
34+
3235
jobs:
3336
build-go:
3437
name: build-go

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ROFL App Backend (name to be decided)
1+
# ROFL App Backend
22

33
A backend for [ROFL App], a web-based dashboard application for creating,
44
exploring, monitoring and interacting with Oasis ROFL (Runtime Offchain Logic)

api/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ func (s *Server) Run(ctx context.Context) error { //nolint:gocyclo
250250
}
251251

252252
// Set the lock for the user.
253-
// Short timeout beause this is just to prevent spamming the build endpoint.
253+
// Short timeout because this is just to prevent spamming the build endpoint.
254254
if err := redisClient.Set(r.Context(), lockKey, "1", 2*time.Minute).Err(); err != nil {
255255
s.logger.Error("failed to set build lock", "err", err)
256256
common.WriteError(w, http.StatusInternalServerError, http.StatusText(http.StatusInternalServerError))

0 commit comments

Comments
 (0)