Skip to content

Commit f818e23

Browse files
fix(workflows): runner input & PR permission
1 parent 61f2979 commit f818e23

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/__call-codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
runner:
1515
required: false
1616
type: string
17-
default: "[ubuntu-latest]"
17+
default: '["ubuntu-latest"]'
1818

1919
jobs:
2020
languages:

.github/workflows/__call-common-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
runner:
2020
required: false
2121
type: string
22-
default: "[ubuntu-latest]"
22+
default: '["ubuntu-latest"]'
2323

2424
jobs:
2525
lint:

.github/workflows/_common-lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ jobs:
2020
if: ${{ github.repository != 'LizardByte/.github' }}
2121
permissions:
2222
contents: read
23+
pull-requests: read

0 commit comments

Comments
 (0)