Skip to content

Commit

Permalink
fix/permissions 2 (#50)
Browse files Browse the repository at this point in the history
* Need package: write permissions

* Need contents: write permissions to update release notes
  • Loading branch information
Mpdreamz authored Mar 28, 2024
1 parent 56a5708 commit 7105a65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- "*.*.*"

permissions:
contents: read
contents: write
packages: write

jobs:
Expand Down Expand Up @@ -82,6 +82,7 @@ jobs:
shell: bash
timeout-minutes: 2
continue-on-error: true
if: github.event_name == 'push' && startswith(github.ref, 'refs/heads')
run: |
until dotnet nuget push 'build/output/*.nupkg' -k ${{secrets.GITHUB_TOKEN}} --skip-duplicate --no-symbols -s https://nuget.pkg.github.com/elastic/index.json; do echo "Retrying"; sleep 1; done;
Expand Down

0 comments on commit 7105a65

Please sign in to comment.