Skip to content

Commit 9113d43

Browse files
committed
Merge remote-tracking branch 'origin/main' into coderabbit/format-rust-code-ci/92ffd79b
# Conflicts: # tests/test_byte_detection.sh
2 parents 22dfc7a + edb05fa commit 9113d43

6 files changed

Lines changed: 10 additions & 7 deletions

File tree

‎.github/workflows/governance.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ permissions:
3232

3333
jobs:
3434
governance:
35-
uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@092dedada188f56c5915f74a5fd40aac093742c3
35+
uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@8f2ee50841e216cd8c192eeb68953118190f105c

‎.github/workflows/mirror.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ on:
77
workflow_dispatch:
88

99
permissions:
10+
actions: read
1011
contents: read
1112

1213
jobs:
1314
mirror:
14-
uses: hyperpolymath/standards/.github/workflows/mirror-reusable.yml@092dedada188f56c5915f74a5fd40aac093742c3
15+
uses: hyperpolymath/standards/.github/workflows/mirror-reusable.yml@8f2ee50841e216cd8c192eeb68953118190f105c
1516
secrets: inherit

‎.github/workflows/rust-ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ permissions:
1414

1515
jobs:
1616
rust-ci:
17-
uses: hyperpolymath/standards/.github/workflows/rust-ci-reusable.yml@092dedada188f56c5915f74a5fd40aac093742c3
17+
uses: hyperpolymath/standards/.github/workflows/rust-ci-reusable.yml@8f2ee50841e216cd8c192eeb68953118190f105c

‎.github/workflows/scorecard.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313

1414
jobs:
1515
analysis:
16-
uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@092dedada188f56c5915f74a5fd40aac093742c3
16+
uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@8f2ee50841e216cd8c192eeb68953118190f105c
1717
permissions:
1818
contents: read
1919
security-events: write

‎.github/workflows/secret-scanner.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ jobs:
1717
scan:
1818
permissions:
1919
contents: read
20-
uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@092dedada188f56c5915f74a5fd40aac093742c3
20+
uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@8f2ee50841e216cd8c192eeb68953118190f105c
2121
secrets: inherit

‎tests/test_byte_detection.sh‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ echo ""
2424
PASS=0
2525
FAIL=0
2626

27-
# Test helper functions
27+
# Assert that a fixture contains the supplied grep-compatible pattern.
2828
test_should_match() {
2929
local desc="$1"
3030
local file="$2"
@@ -39,6 +39,7 @@ test_should_match() {
3939
fi
4040
}
4141

42+
# Assert that a fixture does not contain the supplied grep-compatible pattern.
4243
test_should_not_match() {
4344
local desc="$1"
4445
local file="$2"
@@ -104,7 +105,7 @@ echo ""
104105
echo "Test Group 3: Mid-file Invisible Unicode (Advisory)"
105106
echo "────────────────────────────────────────────────────"
106107

107-
# For PCRE patterns with Unicode, we need the -P flag
108+
# Assert that a fixture contains the supplied Unicode-aware PCRE pattern.
108109
test_should_match_pcre() {
109110
local desc="$1"
110111
local file="$2"
@@ -119,6 +120,7 @@ test_should_match_pcre() {
119120
fi
120121
}
121122

123+
# Assert that a fixture does not contain the supplied Unicode-aware PCRE pattern.
122124
test_should_not_match_pcre() {
123125
local desc="$1"
124126
local file="$2"

0 commit comments

Comments
 (0)