Skip to content

Commit

Permalink
ci: Use Pull Request Head Ref (#8363)
Browse files Browse the repository at this point in the history
* ci: use pull request head ref

* chore: lint
  • Loading branch information
lsh committed Aug 15, 2022
1 parent cf0e97b commit 1102bf3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-toc.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_PAT || github.token }}
ref: ${{ github.head_ref }}
ref: ${{ github.event.pull_request.head.ref }}

- name: Setup Node
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_PAT || github.token }}
ref: ${{ github.head_ref }}
ref: ${{ github.event.pull_request.head.ref }}

- name: Setup Node
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -199,7 +199,7 @@ Publishing is handled by a 2-branch [pre-release process](https://intuit.github.
- PRs made into the default branch are auto-deployed to the `next` pre-release tag on NPM. The result can be installed with `npm install vega-lite/@next`.
- When merging into `next`, please use the `squash and merge` strategy.
- To release a new stable version, open a PR from `next` into `stable` using this [compare link](https://github.com/vega/vega-lite/compare/stable...next).
- When merging from `next` into `stable`, please use the `create a merge commit` strategy.
- When merging from `next` into `stable`, please use the `create a merge commit` strategy.
- After the release note is generated (from commits), please take a look to clean up so the log is readable to the community.

## Suggested Programming Environment.
Expand Down

0 comments on commit 1102bf3

Please sign in to comment.