Skip to content

Commit 45a170a

Browse files
epszawdelatrie
authored andcommitted
Add workflow-wide gh actions permissions (#1187)
Co-authored-by: Maksim Stepanov <[email protected]>
1 parent 9f50f7b commit 45a170a

File tree

8 files changed

+556
-187
lines changed

8 files changed

+556
-187
lines changed

.github/workflows/labeler.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@ name: "Set theme labels"
33
on:
44
- pull_request_target
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
triage:
811
runs-on: ubuntu-latest
12+
permissions:
13+
pull-requests: write
914
steps:
1015
- uses: actions/labeler@v4
1116
with:

.github/workflows/labels-verify.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@ on:
44
pull_request_target:
55
types: [opened, labeled, unlabeled, synchronize]
66

7+
permissions:
8+
contents: none
9+
710
jobs:
811
triage:
912
runs-on: ubuntu-latest
13+
permissions:
14+
pull-requests: read
1015
steps:
1116
- uses: baev/action-label-verify@main
1217
with:

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
release:
55
types: [ published ]
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
build:
912
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,14 @@ on:
1111
description: "The next version in <MAJOR>.<MINOR> format WITHOUT SNAPSHOT SUFFIX"
1212
required: true
1313

14+
permissions:
15+
contents: read
16+
1417
jobs:
1518
triage:
1619
runs-on: ubuntu-latest
20+
permissions:
21+
contents: write
1722
steps:
1823
- name: "Check release version"
1924
run: |

allure-grpc/build.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ description = "Allure gRPC Integration"
99
val agent: Configuration by configurations.creating
1010

1111
val grpcVersion = "1.57.2"
12-
val protobufVersion = "4.27.3"
12+
val protobufVersion = "4.32.1"
13+
val jacksonVersion = "2.17.2"
1314

1415
dependencies {
1516
agent("org.aspectj:aspectjweaver")
1617
api(project(":allure-attachments"))
18+
compileOnly("com.fasterxml.jackson.core:jackson-annotations:$jacksonVersion")
1719
compileOnly("com.google.protobuf:protobuf-java-util:$protobufVersion")
18-
compileOnly("io.grpc:grpc-core:$grpcVersion")
20+
compileOnly("io.grpc:grpc-api:$grpcVersion")
1921
testImplementation("com.google.protobuf:protobuf-java-util:$protobufVersion")
2022
testImplementation("com.google.protobuf:protobuf-java:$protobufVersion")
2123
testImplementation("io.grpc:grpc-core:$grpcVersion")

0 commit comments

Comments
 (0)