Skip to content

Commit f9546d7

Browse files
authored
fix: improve permissions for github workflows (#578)
* fix: improve permissions for github workflows * add: changelog entry
1 parent aba388d commit f9546d7

File tree

8 files changed

+15
-0
lines changed

8 files changed

+15
-0
lines changed

.github/workflows/cd.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
tags: ['v*']
44

55
name: Continuous delivery
6+
permissions:
7+
contents: read
68

79
jobs:
810
test:

.github/workflows/changelog.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: "Changelog"
2+
permissions:
3+
contents: read
24
on:
35
pull_request:
46
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
workflow_call:
66

77
name: CI
8+
permissions:
9+
contents: read
810

911
jobs:
1012
check:

.github/workflows/mysql.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
- "packages/apalis-core/**"
1010

1111
name: Mysql CI
12+
permissions:
13+
contents: read
1214

1315
jobs:
1416
test-mysql:

.github/workflows/postgres.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
- "packages/apalis-core/**"
1010

1111
name: Postgres CI
12+
permissions:
13+
contents: read
1214

1315
jobs:
1416
test-sqlite:

.github/workflows/redis.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77

88

99
name: Redis CI
10+
permissions:
11+
contents: read
1012

1113
jobs:
1214
test-redis:

.github/workflows/sqlite.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010

1111

1212
name: Sqlite CI
13+
permissions:
14+
contents: read
1315

1416
jobs:
1517
test-sqlite:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ All notable changes to this project are documented in this file.
1414
- **deps** : update rust crate criterion to 0.6.0 ([#574](https://github.com/geofmureithi/apalis/pull/574))
1515
- **error-handling** : ease the error type that is returned by a worker function ([#577](https://github.com/geofmureithi/apalis/pull/577))
1616
- **PostgresStorage**: fix type error when updating jobs ([#539](https://github.com/geofmureithi/apalis/issues/539))
17+
- **workflows** improve permissions for github workflows ([#578](https://github.com/geofmureithi/apalis/issues/578))
1718

1819
## [0.7.1](https://github.com/geofmureithi/apalis/releases/tag/v0.7.1)
1920

0 commit comments

Comments
 (0)