Skip to content

Commit

Permalink
ci: disable branch creation
Browse files Browse the repository at this point in the history
  • Loading branch information
georgik committed Dec 4, 2023
1 parent b57e364 commit 354b4a8
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/prepare-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,27 @@ jobs:
prepare-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Replace Xtensa Rust versions
run: |
find . -type f -exec sed -i 's/${{ github.event.inputs.last_release }}/${{ github.event.inputs.next_release }}/g' {} \;
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
add: '*'
message: 'Bump Xtensa Rust version to ${{ github.event.inputs.next_release }}'
new_branch: build/${{ github.event.inputs.next_release }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.PAT }}
branch: build/${{ github.event.inputs.next_release }}
base: main
delete-branch: false
title: 'Update Xtensa Rust version to ${{ github.event.inputs.next_release }}'
body:
draft: false
# - uses: actions/checkout@v4
# - name: Replace Xtensa Rust versions
# run: |
# find . -type f -exec sed -i 's/${{ github.event.inputs.last_release }}/${{ github.event.inputs.next_release }}/g' {} \;
# - name: Commit changes
# uses: EndBug/add-and-commit@v9
# with:
# default_author: github_actions
# add: '*'
# message: 'Bump Xtensa Rust version to ${{ github.event.inputs.next_release }}'
# new_branch: build/${{ github.event.inputs.next_release }}
# - name: Create Pull Request
# uses: peter-evans/create-pull-request@v5
# with:
# token: ${{ secrets.PAT }}
# branch: build/${{ github.event.inputs.next_release }}
# base: main
# delete-branch: false
# title: 'Update Xtensa Rust version to ${{ github.event.inputs.next_release }}'
# body:
# draft: false
- name: Create Release
uses: actions/create-release@v1
env:
Expand Down

0 comments on commit 354b4a8

Please sign in to comment.