Skip to content

Commit

Permalink
Adjust permissions
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <[email protected]>
  • Loading branch information
jamshale committed May 15, 2024
1 parent 27e00de commit 9e0363e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/create-release-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ on:
- cron: "0 0 * * *"


permissions:
contents: write

jobs:
checks:
name: "Create Release PR"
permissions: write-all
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
outputs:
current_available_version: ${{ steps.current_available_version.outputs.version }}
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@ on:
branches: ['main']
paths: ['*/poetry.lock']

permissions:
contents: write

jobs:

checks:
name: "Create Release"
permissions: write-all
permissions:
contents: write
runs-on: ubuntu-latest
outputs:
should_create_release: ${{ steps.should_create_release.outputs.should_create_release }}
Expand Down

0 comments on commit 9e0363e

Please sign in to comment.