Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/neverendingqs/gh-action-node-bump-version-pr

Bumps Node version and creates a pull request.
https://github.com/neverendingqs/gh-action-node-bump-version-pr

github-actions

Last synced: 6 days ago
JSON representation

Bumps Node version and creates a pull request.

Awesome Lists containing this project

README

        

# gh-action-node-bump-version-pr

Bumps Node version and creates a pull request. Can be paired with
[publish-me-maybe](https://www.npmjs.com/package/publish-me-maybe).

## Example usage

```yaml
name: Scheduled dependencies update
on:
workflow_dispatch:
inputs:
version-type:
default: patch
description: Bumps the package version based on value (e.g. patch)
required: true
jobs:
update-deps:
name: Bump Node version
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: neverendingqs/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
version-type: ${{ github.event.inputs.version-type }}
```