Skip to content

Commit 8f906d6

Browse files
committed
Merge branch 'develop' into feat/spencef
2 parents 48d185f + c76fda3 commit 8f906d6

File tree

176 files changed

+13941
-514
lines changed

Some content is hidden

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

176 files changed

+13941
-514
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 real 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/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

lib/node_modules/@stdlib/_tools/eslint/rules/eol-open-bracket-spacing/examples/index.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -45,22 +45,22 @@ var result = linter.verify( code, {
4545
});
4646
console.log( result );
4747
/* =>
48-
[
49-
{
50-
'ruleId': 'eol-open-bracket-spacing',
51-
'severity': 2,
52-
'message': 'No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line',
53-
'line': 3,
54-
'column': 3,
55-
'nodeType': 'CallExpression'
56-
},
57-
{
58-
'ruleId': 'eol-open-bracket-spacing',
59-
'severity': 2,
60-
'message': 'No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line',
61-
'line': 6,
62-
'column': 13,
63-
'nodeType': 'ArrayExpression'
64-
}
65-
]
48+
[
49+
{
50+
'ruleId': 'eol-open-bracket-spacing',
51+
'severity': 2,
52+
'message': 'No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line',
53+
'line': 3,
54+
'column': 3,
55+
'nodeType': 'CallExpression'
56+
},
57+
{
58+
'ruleId': 'eol-open-bracket-spacing',
59+
'severity': 2,
60+
'message': 'No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line',
61+
'line': 6,
62+
'column': 13,
63+
'nodeType': 'ArrayExpression'
64+
}
65+
]
6666
*/

lib/node_modules/@stdlib/_tools/makie/plugins/makie-list-pkgs/lib/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@
2424
* @module @stdlib/_tools/makie/plugins/makie-list-pkgs
2525
*
2626
* @example
27-
* var plugin = require( '@stdlib/_tools/makie/plugins/makie-list-pkgs' );
2827
* var makie = require( '@stdlib/_tools/makie' );
28+
* var plugin = require( '@stdlib/_tools/makie/plugins/makie-list-pkgs' );
29+
*
2930
* var opts = {
3031
* 'plugins': {
3132
* 'benchmark': plugin

lib/node_modules/@stdlib/array/base/assert/any-has-own-property/README.md renamed to lib/node_modules/@stdlib/array/base/any-has-own-property/README.md

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)