Skip to content

actionv/pr-label-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌊自我介绍

pr-label自动添加工具,为您添加核心团队提交的标志和修改的文件类型...

可以从的pr列表中一眼辨别哪些是核心团队开发的,和一眼看出改动了哪儿些文件...

🌈实现效果

🚀谁在用我

# 社区 描述 热度
1 doocs/leetcode LeetCode solutions in any programming language 多种编程语言实现 LeetCode、《剑指 Offer(第 2 版)》、《程序员面试金典(第 6 版)》题解

🍔 使用指南

yml配置

name: pr-add-label

on:
  pull_request_target:
    types: [opened, edited, reopened, synchronize]

jobs:
  add-label:
    permissions:
      contents: read
      pull-requests: write
    runs-on: ubuntu-latest
    steps:
      - name: Check PR number
        id: pr_number
        run: echo "PR_NUMBER=${{ github.event.pull_request.number }}" >> $GITHUB_ENV

      - name: Run add-label Action
        uses: thinkasany/pr-label-action@master
        with:
          github_token: ${{ secrets.DOOCS_BOT_ACTION_TOKEN }}
          pr_number: ${{ env.PR_NUMBER }}
          organize_name: "doocs"
          team_name: "leetcode-algorithm"

About

pr-label自动添加工具,为您添加核心团队提交的标志和修改的文件类型| pr-label auto-add tool for your pr to automatically add label and modified file types submitted by the core team label

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%