Skip to content

Enable auto-update for extension and add release automation script #14

Enable auto-update for extension and add release automation script

Enable auto-update for extension and add release automation script #14

Workflow file for this run

name: Review PR
on:
pull_request:
types: [opened, synchronize]
jobs:
review:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
steps:
- name: Auto Request Review
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const reviewers = ['Teyk0o']; // Liste de reviewers par défaut
github.rest.pulls.requestReviewers({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number,
reviewers: reviewers
});
- name: Label PR
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const labels = ['needs-review'];
github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
labels: labels
});