mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-04-26 10:41:14 +00:00
remove version bump ci (#5353)
This commit is contained in:
parent
43d23f59bb
commit
4bd49d0afa
1 changed files with 0 additions and 37 deletions
37
.github/workflows/version-bump.yml
vendored
37
.github/workflows/version-bump.yml
vendored
|
|
@ -1,37 +0,0 @@
|
|||
name: Version Bump on Release
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
jobs:
|
||||
update-version:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Extract version from release
|
||||
id: get_version
|
||||
run: |
|
||||
VERSION=${GITHUB_REF#refs/tags/v}
|
||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||
- name: Update version in pyproject.toml
|
||||
run: |
|
||||
sed -i "s/version = \".*\"/version = \"${{ steps.get_version.outputs.version }}\"/" pyproject.toml
|
||||
- name: Create Pull Request
|
||||
id: create-pr
|
||||
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6
|
||||
with:
|
||||
commit-message: "chore: bump version to ${{ steps.get_version.outputs.version }}"
|
||||
title: "chore: bump version to ${{ steps.get_version.outputs.version }}"
|
||||
body: "Auto-generated PR to update version in pyproject.toml"
|
||||
branch: "version-bump/${{ steps.get_version.outputs.version }}"
|
||||
delete-branch: true
|
||||
- name: Enable Pull Request Automerge
|
||||
if: steps.create-pr.outputs.pull-request-number
|
||||
run: |
|
||||
gh pr merge --auto --merge "${{ steps.create-pr.outputs.pull-request-number }}"
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue