Skip to content

Commit

Permalink
Use contents
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsreichardt committed Apr 28, 2024
1 parent cb3add7 commit 242c906
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions: {
contents: write,
# contents: write,
pull-requests: write
}
steps:
Expand All @@ -41,9 +41,8 @@ jobs:
run: |
VERSION=$(cider bump patch)
echo "New version: $VERSION"
git checkout -b "pump-version-$VERSION"
BRANCH_NAME="pump-version-$VERSION"
git checkout -b $BRANCH_NAME
git add pubspec.yaml
git commit -m "Bump app version to $VERSION"
- name: Create Pull Request
run: gh pr create --fill
gh pr create --fill --head $BRANCH_NAME

0 comments on commit 242c906

Please sign in to comment.