Skip to content
项目

wadackel/github-pr-diff-tree

在 GitHub 查看

关于

:evergreen_tree: This action provide a comment that displays the diff of the pull request in a tree format.

效率与自动化

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

github-pr-diff-tree CI

Screenshot

:evergreen_tree: This action provide a comment that displays the diff of the pull request in a tree format.

Motivation

When we develop a product, we make various changes to the code base. For example, add, remove, edit, and rename files.

The code diffs can be seen on GitHub's excellent review page. However, the directory structure of the changed files is sometimes overlooked by reviewers.

Therefore, this Action was created with the goal of improving the accuracy of the review by visualizing the directory structure of diffs included in a pull request in a Human-Readable format.

Usage

See action.yml

Basic:

# .github/workflows/pr-diff-tree.yml
name: 'PR Diff Tree'

on:
  pull_request:
    types: [opened, synchronize]

jobs:
  dump:
    runs-on: ubuntu-latest
    steps:
      - uses: wadackel/github-pr-diff-tree@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}

Contributing

We are always welcoming your contribution :clap:

  1. Fork (https://github.com/wadackel/github-pr-diff-tree) :tada:
  2. Create a feature branch :coffee:
  3. Run test suite with the $ npm test command and confirm that it passes :zap:
  4. Commit your changes :memo:
  5. Rebase your local changes against the main branch :bulb:
  6. Create new Pull Request :love_letter:

Bugs, feature requests and comments are more than welcome in the issues.

License

MIT © wadackel

探索相关项目

加载中…