Enable auto-update for extension and add release automation script #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
}); |