Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade checkout to v1.1.0 to better support scripting git. #56

Merged
merged 5 commits into from
Oct 25, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update README.md
thboop authored Oct 24, 2019
commit 01bc4e5c7412f18d17ff6d1097583df2e2b56d26
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -13,8 +13,8 @@ Basic:

```yaml
steps:
- uses: actions/checkout@v1.0.0
- uses: actions/setup-node@master
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10.x
- run: npm install
@@ -25,14 +25,14 @@ By default, the branch or tag ref that triggered the workflow will be checked ou

Checkout different branch from the workflow repository:
```yaml
- uses: actions/checkout@v1.0.0
- uses: actions/checkout@v1
with:
ref: some-branch
```

Checkout different private repository:
```yaml
- uses: actions/checkout@v1.0.0
- uses: actions/checkout@v1
with:
repository: myAccount/myRepository
ref: refs/heads/release
@@ -41,7 +41,7 @@ Checkout different private repository:

Checkout private submodules:
```yaml
- uses: actions/checkout@v1.0.0
- uses: actions/checkout@v1
with:
submodules: recursive
token: ${{ secrets.GitHub_PAT }} // `GitHub_PAT` is a secret contains your PAT.
@@ -53,7 +53,7 @@ For more details, see [Contexts and expression syntax for GitHub Actions](https:

# Changelog

## master (unreleased)
## v1.1.0 (unreleased)
- Persist `with.token` or `${{ github.token }}` into checkout repository's git config as `http.https://github.com/.extraheader=AUTHORIZATION: basic ***` to better support scripting git

# License