mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
github-actions: pull_request in forked PRs cannot change permissions scope (#196550)
This commit is contained in:
parent
ef98f9e8e7
commit
4b09db32f4
1 changed files with 4 additions and 3 deletions
7
.github/workflows/oblt-github-commands.yml
vendored
7
.github/workflows/oblt-github-commands.yml
vendored
|
@ -8,19 +8,20 @@
|
|||
name: oblt-github-commands
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
types:
|
||||
- labeled
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
comment:
|
||||
if: ${{ github.event.label.name == 'ci:project-deploy-observability' }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue