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

PR for llvm/llvm-project#80585 #80776

Merged
merged 2 commits into from
Feb 6, 2024
Merged

Conversation

llvmbot
Copy link
Collaborator

@llvmbot llvmbot commented Feb 6, 2024

resolves #80585

@llvmbot llvmbot added this to the LLVM 18.X Release milestone Feb 6, 2024
@llvmbot
Copy link
Collaborator Author

llvmbot commented Feb 6, 2024

@tru What do you think about merging this PR to the release branch?

@llvmbot
Copy link
Collaborator Author

llvmbot commented Feb 6, 2024

@llvm/pr-subscribers-github-workflow

Author: None (llvmbot)

Changes

resolves llvm/llvm-project#80585


Full diff: https://github.com/llvm/llvm-project/pull/80776.diff

1 Files Affected:

  • (modified) .github/workflows/pr-code-format.yml (+5-1)
diff --git a/.github/workflows/pr-code-format.yml b/.github/workflows/pr-code-format.yml
index 5223089ee8a93d..3d0c23917bd403 100644
--- a/.github/workflows/pr-code-format.yml
+++ b/.github/workflows/pr-code-format.yml
@@ -1,5 +1,9 @@
 name: "Check code formatting"
-on: pull_request_target
+on:
+  pull_request_target:
+    branches:
+      - main
+
 permissions:
   pull-requests: write
 

tstellar and others added 2 commits February 6, 2024 15:42
Modifying a cherry-picked patch to fix code formatting issues can be
risky, so we don't typically do this. Therefore, it's not necessary to
run this job on the release branches.

(cherry picked from commit 2193c95)
A recent comment modified the job to only run on the main branch, but
the formatting was slightly off, causing the job to not run. This patch
fixes the formatting so the job will run as expected.

(cherry picked from commit 4b34558)
@tstellar tstellar merged commit 6e9fd6b into llvm:release/18.x Feb 6, 2024
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants