Skip to content

Commit

Permalink
[DEVOPS-1785] Fix publish ruby sdk workflow permissions (#625)
Browse files Browse the repository at this point in the history
## Type of change

<!-- (mark with an `X`) -->

```
- [x] Bug fix
- [ ] New feature development
- [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc)
- [x] Build/deploy pipeline (DevOps)
- [ ] Other
```

## Objective

<!--Describe what the purpose of this PR is. For example: what bug
you're fixing or what new feature you're adding-->

## Code changes

<!--Explain the changes you've made to each file or major component.
This should help the reviewer understand your changes-->
<!--Also refer to any related changes or PRs in other repositories-->

- **.github/workflows/publish-ruby.yml:** Add `contents: read`
permission and fix indentation

## Before you submit

- Please add **unit tests** where it makes sense to do so
  • Loading branch information
michalchecinski authored Feb 22, 2024
1 parent 74eecad commit 71c5142
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ on:
options:
- Release
- Dry Run
permissions:
id-token: write
contents: write

permissions:
contents: read
pages: write
id-token: write

jobs:
setup:
Expand Down

0 comments on commit 71c5142

Please sign in to comment.