Skip to content

Commit

Permalink
docs: updates related to checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-evans committed Sep 1, 2020
1 parent 105f0d3 commit 5ea3135
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ Create Pull Request action will:
## Usage

```yml
- uses: actions/checkout@v2

# Make changes to pull request here

- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
```
Expand Down
3 changes: 2 additions & 1 deletion docs/concepts-guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ A pull request references two branches:

## Events and checkout

For each [event type](https://docs.github.com/en/actions/reference/events-that-trigger-workflows) there is a default `GITHUB_SHA` that will be checked out by the GitHub Actions [checkout](https://github.com/actions/checkout) action.
This action expects repositories to be checked out with the official GitHub Actions [checkout](https://github.com/actions/checkout) action.
For each [event type](https://docs.github.com/en/actions/reference/events-that-trigger-workflows) there is a default `GITHUB_SHA` that will be checked out.

The default can be overridden by specifying a `ref` on checkout.

Expand Down

0 comments on commit 5ea3135

Please sign in to comment.