Skip to content

Commit 7b94bb8

Browse files
authored
chore: Add permissions to all workflows (#12)
1 parent e277005 commit 7b94bb8

File tree

4 files changed

+30
-2
lines changed

4 files changed

+30
-2
lines changed

.github/.kodiak.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
version = 1
3+
4+
[approve]
5+
auto_approve_usernames = ["cq-bot"]
6+
7+
[merge.message]
8+
body = "pull_request_body"
9+
cut_body_after = "Use the following steps to ensure your PR is ready to be reviewed"
10+
cut_body_and_text = true
11+
cut_body_before = "<!-- 🎉 Thank you for making CloudQuery awesome by submitting a PR 🎉 -->"
12+
title = "pull_request_title"
13+
14+
[merge]
15+
blocking_labels = ["wip", "no automerge"]
16+
notify_on_conflict = false
17+
priority_merge_label = "priority merge"

.github/renovate.json5

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
extends: ['github>cloudquery/.github//.github/renovate-node-default.json5'],
3+
packageRules: [
4+
{
5+
matchPackageNames: ["*"],
6+
groupName: "everything",
7+
},
8+
],
9+
}

.github/workflows/publish-rc.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name: Publish release-candidate npm package
33
on:
44
pull_request:
55
types: [opened, reopened, synchronize]
6-
6+
permissions:
7+
contents: read
78
jobs:
89
publish_rc:
910
if: contains(github.event.pull_request.labels.*.name, 'release-candidate')

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ on:
44
push:
55
branches:
66
- main
7-
7+
permissions:
8+
contents: read
89
jobs:
910
publish:
1011
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)