Skip to content

Commit 741ca68

Browse files
authored
Merge branch 'stdlib-js:develop' into develop
2 parents 1823d26 + 59f0fbb commit 741ca68

File tree

21,134 files changed

+1427441
-220723
lines changed

Some content is hidden

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

21,134 files changed

+1427441
-220723
lines changed

.github/workflows/check_licenses.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
# Install Node.js:
8282
- name: 'Install Node.js'
8383
# Pin action to full length commit SHA
84-
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
84+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
8585
with:
8686
node-version: '20' # 'lts/*'
8787
timeout-minutes: 5
@@ -128,7 +128,7 @@ jobs:
128128
# Upload the log file:
129129
- name: 'Upload log file'
130130
# Pin action to full length commit SHA
131-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
131+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
132132
if: always()
133133
with:
134134
# Define a name for the uploaded artifact:

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
# Install Node.js:
122122
- name: 'Install Node.js'
123123
# Pin action to full length commit SHA
124-
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
124+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
125125
with:
126126
node-version: '20' # 'lts/*'
127127
timeout-minutes: 5

.github/workflows/first_time_greeting.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ jobs:
4343
# Define the type of virtual host machine:
4444
runs-on: ubuntu-latest
4545

46+
# Only run this job if the pull request did not have label `automated-pr` and is not from bots:
47+
if: >
48+
contains(github.event.pull_request.labels.*.name, 'automated-pr') == false &&
49+
github.event.pull_request.user.login != 'stdlib-bot' &&
50+
github.event.pull_request.user.login != 'dependabot[bot]'
51+
4652
# Define the sequence of job steps...
4753
steps:
4854

.github/workflows/generate_monthly_changelog.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ jobs:
5252
# Specify whether to remove untracked files before checking out the repository:
5353
clean: false
5454

55-
# Limit clone depth to the most recent commit:
56-
fetch-depth: 1
55+
# Fetch entire history so that we are guaranteed to have all commit messages for the last month:
56+
fetch-depth: 0
5757

5858
# Token for accessing the repository:
5959
token: ${{ secrets.STDLIB_BOT_FGPAT_REPO_READ }}
@@ -64,7 +64,7 @@ jobs:
6464
# Install Node.js:
6565
- name: 'Install Node.js'
6666
# Pin action to full length commit SHA
67-
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
67+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
6868
with:
6969
node-version: '20' # 'lts/*'
7070
timeout-minutes: 5
@@ -101,23 +101,12 @@ jobs:
101101
- name: 'Generate changelog for last month'
102102
run: |
103103
UNTIL=$(date +"%Y-%m-01")
104-
node -e "
105-
var generate = require( '@stdlib/_tools/changelog/generate' );
106-
var changelog = generate( '@stdlib', {
107-
'flags': {
108-
'since': '$UNTIL - 1 month',
109-
'until': '$UNTIL'
110-
},
111-
'format': 'aggregated'
112-
});
113-
console.log( changelog.content );
114-
115-
" > ./www-blog-monthly-changelog/monthly_changelog_${UNTIL//-/_}.md
104+
node lib/node_modules/@stdlib/_tools/scripts/generate_monthly_changelog.js > ./www-blog-monthly-changelog/monthly_changelog_${UNTIL//-/_}.md
116105
117106
# Import GPG key to sign commits:
118107
- name: 'Import GPG key to sign commits'
119108
# Pin action to full length commit SHA
120-
uses: crazy-max/ghaction-import-gpg@cb9bde2e2525e640591a934b1fd28eef1dcaf5e5 # v6.2.0
109+
uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6.3.0
121110
with:
122111
gpg_private_key: ${{ secrets.STDLIB_BOT_GPG_PRIVATE_KEY }}
123112
passphrase: ${{ secrets.STDLIB_BOT_GPG_PASSPHRASE }}

.github/workflows/generate_pr_commit_message.yml

Lines changed: 13 additions & 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=$?
@@ -82,13 +83,23 @@ jobs:
8283
# Ensure the script itself doesn't fail the workflow:
8384
exit 0
8485
86+
# Check if the commit message already exists in the PR comments:
87+
- name: 'Check if commit message already exists in PR comments'
88+
uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e # v3.1.0
89+
id: fc
90+
with:
91+
issue-number: ${{ github.event.pull_request.number }}
92+
body-includes: '<!-- PR_COMMIT_MESSAGE -->'
93+
8594
# Post commit message as PR comment:
8695
- name: 'Post commit message as PR comment'
8796
# Pin action to full length commit SHA
8897
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
8998
with:
9099
token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
100+
comment-id: ${{ steps.fc.outputs.comment-id }}
91101
issue-number: ${{ github.event.pull_request.number }}
102+
edit-mode: replace
92103
body: |
93104
### PR Commit Message
94105
@@ -99,3 +110,5 @@ jobs:
99110
*Please review the above commit message and make any necessary adjustments.*
100111
101112
${{ steps.commit_message.outputs.has_tracking_issue == 'true' && '⚠️ **Action Required**: This PR references tracking issues. Please update the PR description to replace any "Closes", "Fixes", or "Resolves" keywords with "Ref" when referencing these issues.' || '' }}
113+
114+
<!-- PR_COMMIT_MESSAGE -->

.github/workflows/lint_autofix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
# Install Node.js:
9999
- name: 'Install Node.js'
100100
# Pin action to full length commit SHA
101-
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
101+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
102102
with:
103103
node-version: '20' # 'lts/*'
104104
timeout-minutes: 5

.github/workflows/lint_changed_files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
# Install Node.js:
6868
- name: 'Install Node.js'
6969
# Pin action to full length commit SHA
70-
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
70+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
7171
with:
7272
node-version: '20' # 'lts/*'
7373
timeout-minutes: 5

.github/workflows/lint_pr_title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
# Install Node.js:
7373
- name: 'Install Node.js'
7474
# Pin action to full length commit SHA
75-
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
75+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
7676
with:
7777
node-version: '20' # 'lts/*'
7878
timeout-minutes: 5

.github/workflows/lint_random_files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
# Install Node.js:
109109
- name: 'Install Node.js'
110110
# Pin action to full length commit SHA
111-
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
111+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
112112
with:
113113
node-version: '20' # 'lts/*'
114114
timeout-minutes: 5

.github/workflows/linux_benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ jobs:
180180
# Install Node.js:
181181
- name: 'Install Node.js'
182182
# Pin action to full length commit SHA
183-
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
183+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
184184
with:
185185
node-version: ${{ matrix.NODE_VERSION }}
186186
timeout-minutes: 5
@@ -251,7 +251,7 @@ jobs:
251251
# Upload the log file:
252252
- name: 'Upload log file'
253253
# Pin action to full length commit SHA
254-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
254+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
255255
if: always()
256256
with:
257257
# Define a name for the uploaded artifact (ensuring a unique name for each job):

0 commit comments

Comments
 (0)