Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

Commit 3a811ee

Browse files
committed
Fix some workflows
1 parent d2aee97 commit 3a811ee

File tree

3 files changed

+1
-235
lines changed

3 files changed

+1
-235
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -12,92 +12,4 @@
1212
# https://llvm.org/docs/DeveloperPolicy.html#code-owners, as well as the
1313
# CODE_OWNERS.txt files in the respective subproject directories.
1414

15-
/libcxx/ @llvm/reviewers-libcxx
16-
/libcxxabi/ @llvm/reviewers-libcxxabi
17-
/libunwind/ @llvm/reviewers-libunwind
18-
/runtimes/ @llvm/reviewers-libcxx
19-
20-
/llvm/lib/Analysis/BasicAliasAnalysis.cpp @nikic
21-
/llvm/lib/Analysis/InstructionSimplify.cpp @nikic
22-
/llvm/lib/Analysis/LazyValueInfo.cpp @nikic
23-
/llvm/lib/Analysis/ScalarEvolution.cpp @nikic
24-
/llvm/lib/Analysis/ValueTracking.cpp @nikic
25-
/llvm/lib/IR/ConstantRange.cpp @nikic
26-
/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp @nikic
27-
/llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp @nikic
28-
/llvm/lib/Transforms/InstCombine/ @nikic
29-
30-
/clang/test/CXX/drs/ @Endilll
31-
/clang/www/cxx_dr_status.html @Endilll
32-
/clang/www/make_cxx_dr_status @Endilll
33-
34-
/lldb/ @JDevlieghere
35-
36-
# MLIR Interfaces.
37-
/mlir/include/mlir/Interfaces/TilingInterface.* @MaheshRavishankar @nicolasvasilache
38-
/mlir/lib/Interfaces/TilingInterface.* @MaheshRavishankar @nicolasvasilache
39-
/mlir/include/mlir/Interfaces/ValueBoundsOpInterface.* @matthias-springer
40-
/mlir/lib/Interfaces/ValueBoundsOpInterface.* @matthias-springer
41-
/mlir/**/ValueBoundsOpInterfaceImpl.* @matthias-springer
42-
/mlir/include/mlir/Interfaces/RuntimeVerifiableOpInterface.* @matthias-springer
43-
/mlir/lib/Interfaces/RuntimeVerifiableOpInterface.* @matthias-springer
44-
/mlir/**/RuntimeVerifiableOpInterfaceImpl.* @matthias-springer
45-
/mlir/include/mlir/Interfaces/SubsetOpInterface.* @matthias-springer
46-
/mlir/lib/Interfaces/SubsetOpInterface.* @matthias-springer
47-
/mlir/**/SubsetOpInterfaceImpl.* @matthias-springer
48-
/mlir/include/mlir/Interfaces/DestinationStyleOpInterface.* @matthias-springer
49-
/mlir/lib/Interfaces/DestinationStyleOpInterface.* @matthias-springer
50-
51-
# Bufferization Dialect in MLIR.
52-
/mlir/include/mlir/Dialect/Bufferization @matthias-springer
53-
/mlir/lib/Dialect/Bufferization @matthias-springer
54-
/mlir/**/BufferizableOpInterfaceImpl.* @matthias-springer
55-
/mlir/Dialect/*/Transforms/Bufferize.cpp @matthias-springer
56-
57-
# Linalg Dialect in MLIR.
58-
/mlir/include/mlir/Dialect/Linalg @dcaballe @nicolasvasilache
59-
/mlir/lib/Dialect/Linalg @dcaballe @nicolasvasilache
60-
/mlir/lib/Dialect/Linalg/Transforms/DecomposeLinalgOps.cpp @MaheshRavishankar @nicolasvasilache
61-
/mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp @MaheshRavishankar @nicolasvasilache
62-
/mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp @MaheshRavishankar @nicolasvasilache
63-
/mlir/lib/Dialect/Linalg/Transforms/DataLayoutPropagation.cpp @hanhanW @nicolasvasilache
64-
/mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp @hanhanW @nicolasvasilache
65-
/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp @hanhanW @nicolasvasilache
66-
67-
# MemRef Dialect in MLIR.
68-
/mlir/lib/Dialect/MemRef/Transforms/EmulateNarrowType.cpp @MaheshRavishankar @nicolasvasilache
69-
70-
# Vector Dialect in MLIR.
71-
/mlir/**/*AMX* @aartbik @dcaballe
72-
/mlir/**/*Neon* @banach-space @dcaballe @nicolasvasilache
73-
/mlir/**/*SME* @banach-space @dcaballe @nicolasvasilache
74-
/mlir/**/*SVE* @banach-space @dcaballe @nicolasvasilache
75-
/mlir/**/*VectorInterfaces* @dcaballe @nicolasvasilache
76-
/mlir/**/*VectorToSCF* @banach-space @dcaballe @nicolasvasilache @matthias-springer
77-
/mlir/**/*VectorToLLVM* @banach-space @dcaballe @nicolasvasilache
78-
/mlir/**/*X86Vector* @aartbik @dcaballe @nicolasvasilache
79-
/mlir/include/mlir/Dialect/Vector @dcaballe @nicolasvasilache
80-
/mlir/lib/Dialect/Vector @dcaballe @nicolasvasilache
81-
/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp @MaheshRavishankar @nicolasvasilache
82-
/mlir/**/*EmulateNarrowType* @hanhanW
83-
/mlir/lib/Dialect/Vector/Transforms/* @hanhanW @nicolasvasilache
84-
85-
# Presburger library in MLIR
86-
/mlir/**/*Presburger* @Groverkss @Superty
87-
88-
# Tensor Dialect in MLIR.
89-
/mlir/lib/Dialect/Tensor/IR/TensorTilingInterfaceImpl.cpp @hanhanW @nicolasvasilache
90-
/mlir/lib/Dialect/Tensor/Transforms/* @hanhanW @nicolasvasilache
91-
92-
# Transform Dialect in MLIR.
93-
/mlir/include/mlir/Dialect/Transform/* @ftynse @nicolasvasilache
94-
/mlir/lib/Dialect/Transform/* @ftynse @nicolasvasilache
95-
96-
# SPIR-V Dialect in MLIR.
97-
/mlir/**/SPIRV/ @antiagainst @kuhar
98-
/mlir/**/SPIRVTo*/ @antiagainst @kuhar
99-
/mlir/**/*ToSPIRV/ @antiagainst @kuhar
100-
/mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp @antiagainst @kuhar
101-
102-
# MLIR Sparsifier.
103-
/mlir/**/*SparseTensor*/ @aartbik @PeimingLiu @yinying-lisa-li @matthias-springer
15+
* @intel/npu-plugin-llvm-maintain
Lines changed: 0 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +0,0 @@
1-
name: "Check code formatting"
2-
on:
3-
pull_request_target:
4-
branches:
5-
- main
6-
7-
permissions:
8-
pull-requests: write
9-
10-
jobs:
11-
code_formatter:
12-
runs-on: ubuntu-latest
13-
if: github.repository == 'llvm/llvm-project'
14-
steps:
15-
- name: Fetch LLVM sources
16-
uses: actions/[email protected]
17-
with:
18-
ref: ${{ github.event.pull_request.head.sha }}
19-
20-
- name: Checkout through merge base
21-
uses: rmacklin/fetch-through-merge-base@v0
22-
with:
23-
base_ref: ${{ github.event.pull_request.base.ref }}
24-
head_ref: ${{ github.event.pull_request.head.sha }}
25-
deepen_length: 500
26-
27-
- name: Get changed files
28-
id: changed-files
29-
uses: tj-actions/changed-files@v44
30-
with:
31-
separator: ","
32-
skip_initial_fetch: true
33-
34-
# We need to make sure that we aren't executing/using any code from the
35-
# PR for security reasons as we're using pull_request_target. Checkout
36-
# the target branch with the necessary files.
37-
- name: Fetch code formatting utils
38-
uses: actions/[email protected]
39-
with:
40-
sparse-checkout: |
41-
llvm/utils/git/requirements_formatting.txt
42-
llvm/utils/git/code-format-helper.py
43-
sparse-checkout-cone-mode: false
44-
path: code-format-tools
45-
46-
- name: "Listed files"
47-
env:
48-
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
49-
run: |
50-
echo "Formatting files:"
51-
echo "$CHANGED_FILES"
52-
53-
- name: Install clang-format
54-
uses: aminya/setup-cpp@v1
55-
with:
56-
clangformat: 17.0.1
57-
58-
- name: Setup Python env
59-
uses: actions/setup-python@v5
60-
with:
61-
python-version: '3.11'
62-
cache: 'pip'
63-
cache-dependency-path: 'code-format-tools/llvm/utils/git/requirements_formatting.txt'
64-
65-
- name: Install python dependencies
66-
run: pip install -r code-format-tools/llvm/utils/git/requirements_formatting.txt
67-
68-
- name: Run code formatter
69-
env:
70-
GITHUB_PR_NUMBER: ${{ github.event.pull_request.number }}
71-
START_REV: ${{ github.event.pull_request.base.sha }}
72-
END_REV: ${{ github.event.pull_request.head.sha }}
73-
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
74-
# TODO(boomanaiden154): Once clang v18 is released, we should be able
75-
# to take advantage of the new --diff_from_common_commit option
76-
# explicitly in code-format-helper.py and not have to diff starting at
77-
# the merge base.
78-
run: |
79-
python ./code-format-tools/llvm/utils/git/code-format-helper.py \
80-
--token ${{ secrets.GITHUB_TOKEN }} \
81-
--issue-number $GITHUB_PR_NUMBER \
82-
--start-rev $(git merge-base $START_REV $END_REV) \
83-
--end-rev $END_REV \
84-
--changed-files "$CHANGED_FILES"

.github/workflows/scorecard.yml

Lines changed: 0 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +0,0 @@
1-
# This workflow uses actions that are not certified by GitHub. They are provided
2-
# by a third-party and are governed by separate terms of service, privacy
3-
# policy, and support documentation.
4-
5-
# Check current LLVM-Project results here: https://securityscorecards.dev/viewer/?uri=github.com/llvm/llvm-project
6-
7-
name: Scorecard supply-chain security
8-
on:
9-
# For Branch-Protection check. Only the default branch is supported. See
10-
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
11-
branch_protection_rule:
12-
# To guarantee Maintained check is occasionally updated. See
13-
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
14-
schedule:
15-
- cron: '38 20 * * *'
16-
17-
# Declare default permissions as read only.
18-
permissions:
19-
contents: read
20-
21-
jobs:
22-
analysis:
23-
name: Scorecard analysis
24-
runs-on: ubuntu-latest
25-
if: github.repository == 'llvm/llvm-project'
26-
permissions:
27-
# Needed to upload the results to code-scanning dashboard.
28-
security-events: write
29-
# Needed to publish results and get a badge (see publish_results below).
30-
id-token: write
31-
32-
steps:
33-
- name: "Checkout code"
34-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
35-
with:
36-
persist-credentials: false
37-
38-
- name: "Run analysis"
39-
uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3
40-
with:
41-
results_file: results.sarif
42-
results_format: sarif
43-
44-
# - Publish results to OpenSSF REST API for easy access by consumers
45-
# - Allows the repository to include the Scorecard badge.
46-
# - See https://github.com/ossf/scorecard-action#publishing-results.
47-
publish_results: true
48-
49-
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
50-
# format to the repository Actions tab.
51-
- name: "Upload artifact"
52-
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
53-
with:
54-
name: SARIF file
55-
path: results.sarif
56-
retention-days: 5
57-
58-
# Upload the results to GitHub's code scanning dashboard.
59-
- name: "Upload to code-scanning"
60-
uses: github/codeql-action/upload-sarif@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10
61-
with:
62-
sarif_file: results.sarif

0 commit comments

Comments
 (0)