File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 run-scheduled-openvex-sync :
3636 runs-on : ubuntu-latest
3737 permissions :
38- security-events : read # use inside the otp-compliance.es as API call
39- actions : write # use inside the otp-compliance.es
4038 contents : write # use inside the otp-compliance.es
4139 pull-requests : write # use inside the otp-compliance.es
4240 if : github.repository == 'erlang/otp'
6159 app-id : ${{ vars.ERLANG_BOT_APP_ID }}
6260 private-key : ${{ secrets.ERLANG_BOT_PRIVATE_KEY }}
6361 owner : ${{ github.repository_owner }}
64- permission-security-events : read
65- permission-actions : write
62+ repositories : otp
6663 permission-contents : write
6764 permission-pull-requests : write
6865
Original file line number Diff line number Diff line change @@ -155,9 +155,8 @@ jobs:
155155 app-id : ${{ secrets.ERLANG_VENDOR_SCANNER_APP_ID }}
156156 private-key : ${{ secrets.ERLANG_VENDOR_SCANNER_BOT_PRIVATE_KEY }}
157157 owner : ${{ github.repository_owner }}
158+ repositories : otp
158159 permission-issues : write
159- permission-content : read
160- permission-actions : write
161160
162161 # PRs comming from a fork can use their own GH_TOKEN instead.
163162 # this is for security reasons that forked PRs cannot work with Github App tokens
Original file line number Diff line number Diff line change @@ -147,9 +147,9 @@ jobs:
147147 app-id : ${{ vars.ERLANG_BOT_APP_ID }}
148148 private-key : ${{ secrets.ERLANG_BOT_PRIVATE_KEY }}
149149 owner : ${{ github.repository_owner }}
150- permission-issues : write
151- permission-content : read
152- permission-actions : write
150+ repositories : otp
151+ permission-contents : write
152+ permission-pull-requests : write
153153 - name : Authenticate gh
154154 if : steps.changed.outputs.found == 'true'
155155 env :
You can’t perform that action at this time.
0 commit comments