Skip to content

Commit

Permalink
ci: Fix file permissions to create PR in version bump workflow (#1636)
Browse files Browse the repository at this point in the history
* Test Commitizen 3

* Fix permissions before pushing

* Use `main` branch of cz plugin
  • Loading branch information
edgarrmondragon authored Apr 25, 2023
1 parent 962c058 commit c109744
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/version_bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ jobs:
with:
fetch-depth: 0

- name: Set repo file permissions
run: |
sudo chown -R $USER:$USER .git/objects
- name: Set up Python
uses: actions/setup-python@v4.6.0
with:
Expand Down Expand Up @@ -73,6 +69,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Set repo file permissions
run: |
sudo chown -R $USER:$USER .git/objects
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
id: create-pull-request
Expand Down

0 comments on commit c109744

Please sign in to comment.