Skip to content

chore(deps): update dependency boto3 to v1.35.27 #1910

chore(deps): update dependency boto3 to v1.35.27

chore(deps): update dependency boto3 to v1.35.27 #1910

name: update-pull-request-body
on:
pull_request:
permissions:
pull-requests: write
jobs:
job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: update pull request body
uses: actions/github-script@v7
env:
pr_number: 316
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
debug: true
script: |
contentToAdd = "new"
console.log(contentToAdd);
const pull = await github.rest.issues.get({
issue_number: process.env.pr_number,
owner: context.repo.owner,
repo: context.repo.repo,
});
console.log(pull.data.body);
github.rest.issues.update({
issue_number: process.env.pr_number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `${pull.data.body}\n- #${context.issue.number}`
});