mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-29 15:50:28 +01:00
32 lines
608 B
YAML
32 lines
608 B
YAML
|
name: Label PR
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
types: [assigned, opened, edited, synchronize, reopened]
|
||
|
|
||
|
jobs:
|
||
|
label-pr:
|
||
|
runs-on: ubuntu-latest
|
||
|
permissions:
|
||
|
issues: write
|
||
|
pull-requests: write
|
||
|
|
||
|
steps:
|
||
|
- name: Checkout code
|
||
|
uses: actions/checkout@v3
|
||
|
|
||
|
- name: Use Node.js
|
||
|
uses: actions/setup-node@v3
|
||
|
with:
|
||
|
node-version: '16'
|
||
|
|
||
|
- name: Install Yarn
|
||
|
run: npm install -g yarn
|
||
|
|
||
|
- name: Install dependencies
|
||
|
run: yarn
|
||
|
|
||
|
- name: Run PR labelling script
|
||
|
run: npm run label-prs
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|