Add a filesystem diff snippet to your PRs
Create a workflow (eg: .github/workflows/fs-diff.yml
see Creating a Workflow file) to utilize the fs-diff action with content:
name: "FS Diff"
on: [pull_request]
jobs:
fs-diff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: garrettjoecox/fs-diff@main
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
Note: This grants access to the GITHUB_TOKEN
so the action can make calls to GitHub's rest API
Name | Description | Default |
---|---|---|
repo-token |
Token to use to authorize PR changes. Typically the GITHUB_TOKEN secret | N/A |