Skip to content

Commit

Permalink
[VSC-1462] Create request-rating.yml (#1349)
Browse files Browse the repository at this point in the history
* Create request-rating.yml

* Update text v2
  • Loading branch information
radurentea authored Nov 26, 2024
1 parent be86f16 commit 35283cf
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/request-rating.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Request ESP-IDF Extension Rating

on:
issues:
types: [closed]

jobs:
request-rating:
runs-on: ubuntu-latest
steps:
- name: Create rating request comment
uses: actions/github-script@v7
with:
script: |
const extensionUrl = 'https://marketplace.visualstudio.com/items?itemName=espressif.esp-idf-extension&ssr=false#review-details';
const comment = `Thanks for using our extension! 🚀\n\nYour feedback matters! Could you take a moment to rate it on the marketplace? A positive rating helps other developers discover our tools and motivates us to keep improving.\n\n⭐ Rate ESP-IDF Extension: ${extensionUrl}\n\nYour support means a lot to our development team!`;
github.rest.issues.createComment({
owner: 'espressif',
repo: context.repo.repo,
issue_number: context.issue.number,
body: comment
});

0 comments on commit 35283cf

Please sign in to comment.