-
Notifications
You must be signed in to change notification settings - Fork 1
24 lines (22 loc) · 1019 Bytes
/
bump.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Bump package version in dependent repos - if Node project
on:
workflow_dispatch
jobs:
bump-in-dependent-projects:
name: Bump this package in repositories that depend on it
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Check if Node.js project and has package.json
id: packagejson
run: test -e ./package.json && echo "exists=true" >> $GITHUB_OUTPUT || echo "exists=false" >> $GITHUB_OUTPUT
- name: Bumping latest version of this package in other repositories
uses: ./ # using v5.-.- https://github.com/derberg/npm-dependency-manager-for-your-github-org/releases/tag/v5.0.0
with:
dependency: '@vercel/ncc'
version: '0.24.0'
github_token: ${{ secrets.GH_TOKEN }}
committer_username: asyncapi-bot
committer_email: [email protected]
repos_to_ignore: html-template # this is temporary until react component releases 1.0, then it can be removed