Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8b65e74

Browse files
authored
Merge pull request#1880 from pavlofilatov1/update-workflow-permissions
Add 'contents: read' to workflow permissions to increase the OpenSSF scorecard of the repo
2 parentsd18e312 +7e2b51d commit8b65e74

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

‎.github/workflows/build-test.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: build/test rabbitmq-dotnet-client
33
on:
44
-workflow_call
55

6+
permissions:
7+
contents:read
8+
69
jobs:
710
build-win32:
811
runs-on:windows-latest

‎.github/workflows/codeql.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ on:
1919
schedule:
2020
-cron:'16 4 * * 4'
2121

22+
permissions:
23+
contents:read
24+
2225
jobs:
2326
analyze:
2427
name:Analyze

‎.github/workflows/main.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
-main
1111
-'rabbitmq-dotnet-client-*'
1212

13+
permissions:
14+
contents:read
15+
1316
jobs:
1417
call-build-test:
1518
uses:./.github/workflows/build-test.yaml

‎.github/workflows/oauth2.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
pull_request:
77
branches:[ main ]
88

9+
permissions:
10+
contents:read
11+
912
jobs:
1013
build-test:
1114
strategy:

‎.github/workflows/publish-nuget.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
NUGET_API_KEY:
77
required:true
88

9+
permissions:
10+
contents:read
11+
912
jobs:
1013
publish-nuget:
1114
runs-on:windows-latest

‎.github/workflows/publish.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release
77
-published
88

9+
permissions:
10+
contents:read
11+
912
jobs:
1013
call-build-test:
1114
uses:./.github/workflows/build-test.yaml

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp