Skip to content

[npm]: Bump eslint from 9.17.0 to 9.19.0 #7

[npm]: Bump eslint from 9.17.0 to 9.19.0

[npm]: Bump eslint from 9.17.0 to 9.19.0 #7

name: Increment Version
on:
workflow_call:
workflow_dispatch:
pull_request:
branches: [main]
types: [opened]
jobs:
check_package_name:
uses: ./.github/workflows/check_package_name.yml
increment:
runs-on: ubuntu-latest
needs: check_package_name
if: needs.check_package_name.outputs.package_name != '"npm-package-template"'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }} # We need to checkout the head branch, not the temporary merge branch
persist-credentials: false
- name: Setup Node.js environment
uses: actions/[email protected]
- name: Set name
run: git config user.name "Gearbox Bot"
- name: Set email
run: git config user.email "[email protected]"
- name: Increment patch number
run: npm version patch
- name: Push changes
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.GIT_PUSH_TOKEN }}
branch: ${{ github.head_ref }}