File tree Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change 1515name : Lint
1616on :
1717 pull_request :
18- paths-ignore :
18+ paths-ignore : # Changes to the paths list need to be reflected in lint_fallback.yml
1919 - " *.md"
20+ - " .kokoro/**"
21+ - " .github/**"
2022 pull_request_target :
2123 types : [labeled]
2224 paths-ignore :
2325 - " *.md"
26+ - " .kokoro/**"
27+ - " .github/**"
2428
2529jobs :
2630 lint :
5357
5458 - name : Checkout Repository
5559 uses : actions/checkout@v3
60+ with :
61+ ref : ${{ github.event.pull_request.head.sha }}
62+ repository : ${{ github.event.pull_request.head.repo.full_name }}
63+ token : ${{ secrets.GITHUB_TOKEN }}
5664
5765 - name : Setup Python
5866 uses : actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
Original file line number Diff line number Diff line change 1+ # Copyright 2024 Google LLC
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ name : Lint
16+ on :
17+ pull_request :
18+ paths : # These paths are the inverse of lint.yml
19+ - " *.md"
20+ - " .kokoro/**"
21+ - " .github/**"
22+
23+ jobs :
24+ lint :
25+ runs-on : ubuntu-latest
26+ permissions :
27+ contents : none
28+
29+ steps :
30+ - run : echo "No tests required."
You can’t perform that action at this time.
0 commit comments