Skip to content

Commit

Permalink
Update README.md (#451)
Browse files Browse the repository at this point in the history
* Update README.md

* Update test.yml
  • Loading branch information
jackton1 committed Mar 22, 2023
1 parent 92db81e commit 63fdd1f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
if: github.event.pull_request.head.repo.owner.login == github.repository_owner
with:
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
ref: ${{ github.head_ref }}

- name: Checkout
uses: actions/checkout@v3
if: github.event.pull_request.head.repo.owner.login != github.repository_owner
with:
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ GitHub Action that generates beautiful, easy-to-read markdown tables with just a

* Document your custom [Github action](https://docs.github.com/en/actions/creating-actions) using the `action.yml` file.
* Document [reusable workflows](https://docs.github.com/en/actions/using-workflows/reusing-workflows) by specifying the filename.
* Easy to understand markdown table of all inputs/outputs/secrets.
* Easy to understand markdown table of all inputs, outputs, secrets.
* Fast and always up-to-date documentation.

## Table of Contents
Expand Down

0 comments on commit 63fdd1f

Please sign in to comment.