mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
GitHub actions
This commit is contained in:
7
.github/actions/bump/action.yml
vendored
7
.github/actions/bump/action.yml
vendored
@@ -6,6 +6,11 @@ inputs:
|
||||
description: The most recent version of Bun.
|
||||
required: true
|
||||
type: string
|
||||
token:
|
||||
description: The GitHub token to use for creating a pull request.
|
||||
required: true
|
||||
type: string
|
||||
default: ${{ github.token }}
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
@@ -25,7 +30,7 @@ runs:
|
||||
add-paths: |
|
||||
CMakeLists.txt
|
||||
LATEST
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
token: ${{ inputs.token }}
|
||||
commit-message: Bump version to ${{ steps.bump.outputs.version }}
|
||||
title: Bump to ${{ steps.bump.outputs.version }}
|
||||
delete-branch: true
|
||||
|
||||
1
.github/workflows/test-bump.yml
vendored
1
.github/workflows/test-bump.yml
vendored
@@ -26,3 +26,4 @@ jobs:
|
||||
uses: ./.github/actions/bump
|
||||
with:
|
||||
version: ${{ inputs.version }}
|
||||
token: ${{ github.token }}
|
||||
|
||||
Reference in New Issue
Block a user