Skip to content

Commit

Permalink
Removing job level permissions to use global (#9814)
Browse files Browse the repository at this point in the history
  • Loading branch information
jyejare authored Jul 21, 2022
1 parent 2fd6331 commit 4eb9f85
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/auto_cherry_pick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
run: echo "::set-output name=branches::$(git branch -rl --sort=-authordate 'origin/6.*.z' --format='%(refname:lstrip=-1)' | head -n2 | jq -cnR '[inputs | select(length>0)]')"
auto_cherry_picking:
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'CherryPick')
permissions:
pull-requests: write
name: Auto Cherry picking to branches
needs: branch-matrix
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4eb9f85

Please sign in to comment.