Skip to content

Commit 101ca4a

Browse files
committed
ci: 👷 Add permissions for pull requests
Updated CI configuration files to include permissions for pull requests. This change allows the CI to write to pull requests, enhancing the automation capabilities for the main-community branch. • Added 'permissions' section to both update-docs-on-main.yml and update-size-on-main.yml. • Ensures that the CI can manage pull requests effectively.
1 parent df4b3ec commit 101ca4a

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎.github/workflows/update-docs-on-main.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches: main-community
66
workflow_dispatch:
77
# allows triggering from the github UI
8+
9+
permissions:
10+
pull-requests: write
11+
812
jobs:
913
check-for-doc-changes:
1014
runs-on: ubuntu-latest

‎.github/workflows/update-size-on-main.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches: main-community
66
workflow_dispatch:
77
# allows triggering from the github UI
8+
9+
permissions:
10+
pull-requests: write
11+
812
jobs:
913
check-for-doc-changes:
1014
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)