Skip to content

Commit 242577b

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into stats-array-nanmean
2 parents df82d6b + 6943393 commit 242577b

File tree

3,253 files changed

+356528
-16618
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,253 files changed

+356528
-16618
lines changed

.github/workflows/generate_pr_commit_message.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
# Generate commit message:
6666
- name: 'Generate commit message'
6767
id: commit_message
68+
shell: bash {0} # Omit -e to avoid triggering a failure if the script returns a non-zero exit code
6869
run: |
6970
COMMIT_MESSAGE=$($GITHUB_WORKSPACE/.github/workflows/scripts/generate_pr_commit_message $PR_NUMBER)
7071
EXIT_CODE=$?

.github/workflows/markdown_equations.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,16 @@ jobs:
118118
run: |
119119
make markdown-svg-equations-files FILES="${{ steps.changed.outputs.files }}"
120120
121-
if [[ -z "$(git status --porcelain)" ]]; then
122-
# If no files were changed, exit with a success status code:
121+
# Stage *all* tracked and untracked changes first...
122+
git add -A
123+
124+
if git diff --cached --quiet; then
123125
echo "changed=false" >> $GITHUB_OUTPUT
126+
127+
# Exit with a success status code:
124128
exit 0
125129
else
126-
# Otherwise, add changed files to the staging area and commit:
127-
git add -A && git commit -m "docs: update Markdown equation SVGs"
130+
git commit -m "docs: update Markdown equation SVGs"
128131
echo "changed=true" >> $GITHUB_OUTPUT
129132
fi
130133
timeout-minutes: 15
@@ -136,13 +139,16 @@ jobs:
136139
make markdown-img-equations-files FILES="${{ steps.changed.outputs.files }}"
137140
make markdown-img-equations-src-urls-files FILES="${{ steps.changed.outputs.files }}"
138141
139-
if [[ -z "$(git status --porcelain)" ]]; then
140-
# If no files were changed, exit with a success status code:
142+
# Stage *all* tracked and untracked changes first...
143+
git add -A
144+
145+
if git diff --cached --quiet; then
141146
echo "changed=false" >> $GITHUB_OUTPUT
147+
148+
# Exit with a success status code:
142149
exit 0
143150
else
144-
# Otherwise, add changed files to the staging area and commit:
145-
git add -A && git commit -m "docs: update Markdown equation elements"
151+
git commit -m "docs: update Markdown equation elements"
146152
echo "changed=true" >> $GITHUB_OUTPUT
147153
fi
148154
timeout-minutes: 15

.github/workflows/markdown_pkg_urls.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,16 @@ jobs:
124124
run: |
125125
make markdown-pkg-urls MARKDOWN_FILTER='.*/lib/node_modules/@stdlib/.*'
126126
127-
if [[ -z "$(git status --porcelain)" ]]; then
128-
# If no files were changed, exit with a success status code:
127+
# Stage *all* tracked and untracked changes first...
128+
git add -A
129+
130+
if git diff --cached --quiet; then
129131
echo "changed=false" >> $GITHUB_OUTPUT
132+
133+
# Exit with a success status code:
130134
exit 0
131135
else
132-
# Otherwise, add changed files to the staging area and commit:
133-
git add -A && git commit -m "docs: update package URLs"
136+
git commit -m "docs: update package URLs"
134137
echo "changed=true" >> $GITHUB_OUTPUT
135138
fi
136139
timeout-minutes: 10

.github/workflows/markdown_related_packages.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,17 @@ jobs:
135135
make markdown-related-files FILES="${files}"
136136
make markdown-pkg-urls-files FILES="${files}"
137137
138-
if [[ -z "$(git status --porcelain)" ]]; then
139-
# If no files were changed, exit with a success status code:
138+
# Stage *all* tracked and untracked changes first...
139+
git add -A
140+
141+
# If the index is identical to HEAD, nothing really changed:
142+
if git diff --cached --quiet; then
140143
echo "changed=false" >> $GITHUB_OUTPUT
144+
145+
# Exit with a success status code:
141146
exit 0
142147
else
143-
# Otherwise, add changed files to the staging area and commit:
144-
git add -A && git commit -m "docs: update related packages sections"
148+
git commit -m "docs: update related packages sections"
145149
echo "changed=true" >> $GITHUB_OUTPUT
146150
fi
147151
timeout-minutes: 10

.github/workflows/ossf_scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969

7070
- name: "Run analysis"
7171
# Pin action to full length commit SHA
72-
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
72+
uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
7373
with:
7474
results_file: results.sarif
7575
results_format: sarif

.github/workflows/update_contributors.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,15 @@ jobs:
7878
run: |
7979
make update-contributors
8080
81-
if [[ -z "$(git status --porcelain)" ]]; then
81+
# Stage *all* tracked and untracked changes first...
82+
git add -A
83+
84+
# If the index is identical to HEAD, nothing real changed:
85+
if git diff --cached --quiet; then
8286
echo "No changes to commit."
8387
echo "changed=false" >> $GITHUB_OUTPUT
8488
else
89+
echo "Changes detected."
8590
echo "changed=true" >> $GITHUB_OUTPUT
8691
fi
8792
@@ -129,6 +134,7 @@ jobs:
129134

130135
# Create a pull request summary:
131136
- name: 'Create summary'
137+
if: steps.update-contributors.outputs.changed == 'true'
132138
run: |
133139
echo "# :tada: Pull Request created! :tada:" >> $GITHUB_STEP_SUMMARY
134140
echo "" >> $GITHUB_STEP_SUMMARY

CONTRIBUTORS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ Frank Kovacs <[email protected]>
5353
GK Bishnoi <[email protected]>
5454
GURU PRASAD SHARMA <[email protected]>
5555
56+
Gautam Kaushik <[email protected]>
5657
Gautam sharma <[email protected]>
5758
Girish Garg <[email protected]>
5859
Golden Kumar <[email protected]>
@@ -80,6 +81,7 @@ Joris Labie <[email protected]>
8081
Justin Dennison <[email protected]>
8182
Justyn Shelby <[email protected]>
8283
Karan Anand <[email protected]>
84+
Karan Vasudevamurthy <[email protected]>
8385
Karan Yadav <[email protected]>
8486
Karthik Prakash <[email protected]>
8587
Kaushikgtm <[email protected]>
@@ -146,6 +148,7 @@ Ryan Seal <[email protected]>
146148
Rylan Yang <[email protected]>
147149
SAHIL KUMAR <[email protected]>
148150
SHIVAM YADAV <[email protected]>
151+
Sachin Raj <[email protected]>
149152
Sahil Goyal <[email protected]>
150153
Sai Avinash <[email protected]>
151154
Sai Srikar Dumpeti <[email protected]>
@@ -166,10 +169,14 @@ Spandan Barve <[email protected]>
166169
Stephannie Jiménez Gacha <[email protected]>
167170
Suhaib Ilahi <[email protected]>
168171
Suraj Kumar <[email protected]>
172+
Swapnil Hajare <[email protected]>
169173
Tanishq Ahuja <[email protected]>
170174
Tirtadwipa Manunggal <[email protected]>
171175
Tudor Pagu <[email protected]>
172176
Tufailahmed Bargir <[email protected]>
177+
Tushar Bhardwaj <[email protected]>
178+
Uday Kakade <[email protected]>
179+
Ujjwal Kirti <[email protected]>
173180
Utkarsh <http://[email protected]>
174181
Utkarsh Raj <[email protected]>
175182
UtkershBasnet <[email protected]>

CORE_CONTRIBUTORS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ For information about the governance of the stdlib project, see [GOVERNANCE.md][
3232
- [headlessNode][muhammad-haris-github] - **Muhammad Haris** &lt;[[email protected]][muhammad-haris-email]&gt; (he/him)
3333
- [aman-095][aman-bhansali-github] - **Aman Bhansali** &lt;[[email protected]][aman-bhansali-email]&gt; (he/him)
3434
- [aayush0325][aayush-khanna-github] - **Aayush Khanna** &lt;[[email protected]][aayush-khanna-email]&gt; (he/him)
35+
- [anandkaranubc][karan-anand-github] - **Karan Anand** &lt;[[email protected]][karan-anand-email]&gt; (he/him)
3536

3637
<details>
3738
<summary>Emeriti</summary>
@@ -72,6 +73,10 @@ For information about the governance of the stdlib project, see [GOVERNANCE.md][
7273

7374
[aayush-khanna-email]: mailto:[email protected]
7475

76+
[karan-anand-github]: https://github.com/anandkaranubc
77+
78+
[karan-anand-email]: mailto:[email protected]
79+
7580
</section>
7681

7782
<!-- /.links -->

docs/contributing/moving_packages.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,8 @@ BREAKING CHANGE: remove `dmax`
262262
263263
To migrate, users should access the same symbol via the
264264
`@stdlib/stats/strided` namespace.
265+
266+
Ref: https://github.com/stdlib-js/stdlib/issues/4797
265267
```
266268

267269
### 8. Update paths using a global find-and-replace

etc/eslint/rules/spellcheck.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ rules[ '@cspell/spellchecker' ] = [ 'warn', {
115115
'tricube',
116116
'trigamma',
117117
'uncapitalize',
118-
'unregularized'
118+
'unregularized',
119+
'Fréchet'
119120
]
120121
}
121122
}];

0 commit comments

Comments
 (0)