Skip to content

Commit 395d00d

Browse files
committed
Add permissions key to wrong workflow
1 parent 35d8dce commit 395d00d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/main.yml

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

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
build:
1114
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ on:
66
- v*
77
workflow_dispatch:
88

9-
permissions:
10-
contents: read
11-
129
jobs:
1310
release:
1411
if: github.repository == '84codes/rubocop-eighty-four-codes'

0 commit comments

Comments
 (0)