Skip to content

Commit

Permalink
permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
hilmarf committed Nov 25, 2024
1 parent d1ca4ac commit 7fa9a59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish-to-other-than-github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ jobs:
name: Update Winget
if: github.event.client_payload.push-to-winget && github.event.client_payload.version != ''
runs-on: windows-latest
permissions: write-all
steps:
- name: Ensure proper version
run: |
Expand All @@ -137,6 +136,8 @@ jobs:
with:
app_id: ${{ secrets.OCMBOT_APP_ID }}
private_key: ${{ secrets.OCMBOT_PRIV_KEY }}
permissions: |
{"contents":"write","pull_requests":"write"}
- name: Checkout
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 7fa9a59

Please sign in to comment.