Skip to content

Commit 6bd0f04

Browse files
authored
Merge branch 'main' into add_covers_meta_model
2 parents 1e8fc60 + 23be786 commit 6bd0f04

15 files changed

Lines changed: 708 additions & 3618 deletions

.github/workflows/consumer_test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ jobs:
2828
consumer: ["process_description", "score", "module_template"]
2929

3030
steps:
31+
- name: 🛡️ Harden Runner
32+
if: github.repository_owner == 'eclipse-score'
33+
uses: step-security/harden-runner@v2.18.0
34+
with:
35+
egress-policy: audit
36+
3137
- name: Checkout PR
3238
uses: actions/checkout@v4.2.2
3339

.github/workflows/link_check.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ jobs:
2626
link-check:
2727
runs-on: ubuntu-latest
2828
steps:
29+
- name: 🛡️ Harden Runner
30+
if: github.repository_owner == 'eclipse-score'
31+
uses: step-security/harden-runner@v2.18.0
32+
with:
33+
egress-policy: audit
2934
- name: Checkout repo
3035
uses: actions/checkout@v4
3136

.github/workflows/lint.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ jobs:
2424
runs-on: ubuntu-latest
2525
continue-on-error: true
2626
steps:
27+
28+
- name: 🛡️ Harden Runner
29+
if: github.repository_owner == 'eclipse-score'
30+
uses: step-security/harden-runner@v2.18.0
31+
with:
32+
egress-policy: audit
2733
- name: Checkout repository
2834
uses: actions/checkout@v4.2.2
2935

.github/workflows/renovate.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ jobs:
2222
renovate:
2323
runs-on: ubuntu-latest
2424
steps:
25+
- name: 🛡️ Harden Runner
26+
if: github.repository_owner == 'eclipse-score'
27+
uses: step-security/harden-runner@v2.18.0
28+
with:
29+
egress-policy: audit
2530
- name: Checkout repository
2631
uses: actions/checkout@v4.2.2
2732

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ jobs:
2020
code:
2121
runs-on: ubuntu-latest
2222
steps:
23+
- name: 🛡️ Harden Runner
24+
if: github.repository_owner == 'eclipse-score'
25+
uses: step-security/harden-runner@v2.18.0
26+
with:
27+
egress-policy: audit
2328
- name: Checkout repository (Handle all events)
2429
uses: actions/checkout@v4.2.2
2530
with:
@@ -36,7 +41,7 @@ jobs:
3641
- name: Run test targets
3742
run: |
3843
bazel run --lockfile_mode=error //:ide_support
39-
bazel test --lockfile_mode=error //src/... //score_pytest/...
44+
bazel test --lockfile_mode=error //...
4045
4146
- name: Prepare bundled consumer report
4247
if: always()

.github/workflows/test_links.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
outputs:
2222
should_create_issue: ${{ steps.detect.outputs.issue_needed }}
2323
steps:
24+
- name: 🛡️ Harden Runner
25+
if: github.repository_owner == 'eclipse-score'
26+
uses: step-security/harden-runner@v2.18.0
27+
with:
28+
egress-policy: audit
2429
- name: Checkout repository
2530
uses: actions/checkout@v4.2.2
2631

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ repos:
2727
- id: check-added-large-files
2828
args: ["--maxkb=150"]
2929

30+
- repo: local
31+
hooks:
32+
- id: bazel-mod-tidy
33+
name: format Bazel module files
34+
entry: bazel mod tidy
35+
language: system
36+
pass_filenames: false
37+
files: '(^|/)(MODULE\.bazel|.*\.bzl|BUILD(\.bazel)?)$'
38+
3039
- repo: https://github.com/rhysd/actionlint
3140
rev: v1.7.11
3241
hooks:

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@ http_file(
6969
urls = ["https://github.com/withered-magic/starpls/releases/download/v0.1.21/starpls-linux-amd64"],
7070
)
7171

72-
bazel_dep(name = "score_process", version = "1.5.3")
72+
bazel_dep(name = "score_process", version = "1.5.4")

MODULE.bazel.lock

Lines changed: 256 additions & 3554 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ def _rewrite_needs_json_to_sourcelinks(labels):
6363
s = str(x)
6464
if s.endswith("//:needs_json"):
6565
out.append(s.replace("//:needs_json", "//:sourcelinks_json"))
66-
else:
67-
out.append(s)
66+
#Items which do not end up with '//:needs_json' shall not be appended to 'out'.
67+
#They are treated separately and are not related to source code linking.
6868
return out
6969

7070
def _merge_sourcelinks(name, sourcelinks, known_good = None):

0 commit comments

Comments
 (0)