Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/update-lsr-version-comment-on-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: PR Message

on:
pull_request:
types: [opened]

jobs:
message:
runs-on: ubuntu-latest
steps:
- name: Post PR message
uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'Once this PR is merged and the language-server-runtime package is published, please ensure the corresponding version that contains this commit is updated in language-servers too!'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add this in the PR description too?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

Suggested change
body: 'Once this PR is merged and the language-server-runtime package is published, please ensure the corresponding version that contains this commit is updated in language-servers too!'
body: 'Once this PR is merged and the @aws/language-server-runtimes package is published, please ensure the corresponding version that contains this commit is updated in language-servers too!'

})
Loading