aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectScript.cpp
diff options
context:
space:
mode:
authorAiden Grossman <agrossman154@yahoo.com>2023-10-30 12:23:51 -0700
committerGitHub <noreply@github.com>2023-10-30 12:23:51 -0700
commit4aa12afb967bd7c5f051f3b72271f787f1a7538b (patch)
treeb468a9a470ec41c483549fa55d6c09e14fcbadd5 /lldb/source/Commands/CommandObjectScript.cpp
parent3f2ed812f021e723212ddb9f808757a7ec3841e1 (diff)
downloadllvm-4aa12afb967bd7c5f051f3b72271f787f1a7538b.zip
llvm-4aa12afb967bd7c5f051f3b72271f787f1a7538b.tar.gz
llvm-4aa12afb967bd7c5f051f3b72271f787f1a7538b.tar.bz2
[Github] Fetch all commits in PR for code formatting checks (#69766)
This patch makes a couple changes to the PR code formatting check: - Moves the `changed-files` action to before the checkout to make sure that it pulls information from the Github API rather than by running `git diff` to alleviate some performance problems. - Checkout the head of the pull request head instead of the base of the pull request to ensure that we have the PR commits inside the checkout. - Add an additional sparse checkout of the necessary LLVM tools to run the action to alleviate security problems introduced by checking out the head of the pull request. Only code from the base of the pull request runs. - Adjust the commit references to be based on `HEAD` as Github doesn't give exact commit SHAs for the first commit in the PR.
Diffstat (limited to 'lldb/source/Commands/CommandObjectScript.cpp')
0 files changed, 0 insertions, 0 deletions