8000 Fix linting for forks by daskol · Pull Request #61 · nntile/nntile · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix linting for forks #61

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

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Changes from all commits
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
7 changes: 2 additions & 5 deletions .github/workflows/check-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Pull Request Checks

# Trigger the workflow on push or pull request (only main branch).
on:
push:
branches:
- main
pull_request:
branches:
- main
Expand All @@ -27,7 +24,7 @@ jobs:
# Un-shallow refs.
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
# Deepen topic branch; checkout topic branch.
git fetch origin ${{ github.event.pull_request.head.ref }} \
git fetch origin ${{ github.ref }}:${{ github.head_ref }} \
--depth=$(( ${{ github.event.pull_request.commits }} + 1 ))
git checkout ${{ github.event.pull_request.head.ref }}
# Fetch main for common origin.
Expand All @@ -41,7 +38,7 @@ jobs:
with:
extra_args: >
--from-ref "$(git merge-base main HEAD)"
--to-ref "${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}"
--to-ref "${{ github.head_ref }}"

# TODO(@daskol): We need rework this stage: pre-build images, build StarPU
# in-tree, rework layout and defaults, etc.
Expand Down
Loading
0