Skip to content

Commit ea51432

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

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/__call-codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
outputs:
2525
matrix: ${{ steps.lang.outputs.result }}
2626
continue: ${{ steps.continue.outputs.result }}
27-
runs-on: ${{ (inputs && inputs.runner && fromJson(inputs.runner)) || 'ubuntu-latest' }}
27+
runs-on: ${{ (inputs.runner && fromJson(inputs.runner)) || 'ubuntu-latest' }}
2828
steps:
2929
- name: Checkout repository
3030
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.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)