Skip to content

Commit f3a1b6b

Browse files
committed
ci: fix permissions
1 parent f1924db commit f3a1b6b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci-license.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
license-check:
1313
name: License Check
1414
runs-on: 'ubuntu-latest'
15+
permissions:
16+
pull-requests: write
1517
steps:
1618
- name: 👷 Checkout
1719
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -46,7 +48,6 @@ jobs:
4648
- uses: marocchino/sticky-pull-request-comment@52423e01640425a022ef5fd42c6fb5f633a02728 # v2.9.1
4749
if: ${{ steps.check.outputs.result > 0 }}
4850
with:
49-
GITHUB_TOKEN: ${{ secrets.WDIO_BOT_GITHUB_TOKEN }}
5051
header: license-error
5152
message: >
5253
Thank you for creating PR!🙏
@@ -72,6 +73,5 @@ jobs:
7273
- uses: marocchino/sticky-pull-request-comment@52423e01640425a022ef5fd42c6fb5f633a02728 # v2.9.1
7374
if: ${{ steps.check.outputs.result == 0 }}
7475
with:
75-
GITHUB_TOKEN: ${{ secrets.WDIO_BOT_GITHUB_TOKEN }}
7676
header: license-error
7777
delete: true

0 commit comments

Comments
 (0)