Skip to content

build(deps): bump actions/github-script from 7 to 8 #632

build(deps): bump actions/github-script from 7 to 8

build(deps): bump actions/github-script from 7 to 8 #632

Workflow file for this run

name: UpdateVersion
on:
pull_request:
types:
- opened
- reopened
- synchronize
- edited
branches:
- dev
jobs:
UpdateVersion:
permissions:
pull-requests: write
contents: write
runs-on: ubuntu-latest
steps:
- name: Generate a token
id: generate_token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: actions/checkout@v5
- name: Update version
env:
PR_BODY: ${{ github.event.pull_request.body }}
run: node ./Update/UpdateVersion.js ${{ steps.generate_token.outputs.token }} ${{ github.event.number }} "${{ github.event.pull_request.title }}" "$PR_BODY"