Skip to content

Commit 3d276dc

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into ndarray-dmeanvarpn
2 parents a7763d1 + 8663446 commit 3d276dc

File tree

5,071 files changed

+169815
-59182
lines changed

Some content is hidden

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

5,071 files changed

+169815
-59182
lines changed

.github/workflows/autoclose.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: 'Close pull request'
5353
run: gh pr close "$NUMBER" --comment "$BODY"
5454
env:
55-
GH_TOKEN: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }}
55+
GH_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
5656
GH_REPO: ${{ github.repository }}
5757
NUMBER: ${{ github.event.pull_request.number }}
5858
BODY: |
@@ -88,7 +88,7 @@ jobs:
8888
- name: 'Close pull request'
8989
run: gh pr close "$NUMBER" --comment "$BODY"
9090
env:
91-
GH_TOKEN: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }}
91+
GH_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
9292
GH_REPO: ${{ github.repository }}
9393
NUMBER: ${{ github.event.pull_request.number }}
9494
BODY: |
@@ -124,7 +124,7 @@ jobs:
124124
- name: 'Close pull request'
125125
run: gh pr close "$NUMBER" --comment "$BODY"
126126
env:
127-
GH_TOKEN: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }}
127+
GH_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
128128
GH_REPO: ${{ github.repository }}
129129
NUMBER: ${{ github.event.pull_request.number }}
130130
BODY: |
@@ -164,7 +164,7 @@ jobs:
164164
- name: 'Close pull request'
165165
run: gh pr close "$NUMBER" --comment "$BODY"
166166
env:
167-
GH_TOKEN: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }}
167+
GH_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
168168
GH_REPO: ${{ github.repository }}
169169
NUMBER: ${{ github.event.pull_request.number }}
170170
BODY: |
@@ -176,7 +176,7 @@ jobs:
176176
- name: 'Lock conversation'
177177
run: gh pr lock "$NUMBER" --reason spam
178178
env:
179-
GH_TOKEN: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }}
179+
GH_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
180180
GH_REPO: ${{ github.repository }}
181181
NUMBER: ${{ github.event.pull_request.number }}
182182

@@ -204,7 +204,7 @@ jobs:
204204
- name: 'Close pull request'
205205
run: gh pr close "$NUMBER" --comment "$BODY"
206206
env:
207-
GH_TOKEN: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }}
207+
GH_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
208208
GH_REPO: ${{ github.repository }}
209209
NUMBER: ${{ github.event.pull_request.number }}
210210
BODY: |

.github/workflows/check_contributing_guidelines_acceptance.yml

100755100644
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
# Checkout the repository:
7373
- name: 'Checkout repository'
7474
# Pin action to full length commit SHA
75-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
75+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7676
with:
7777
# Specify whether to remove untracked files before checking out the repository:
7878
clean: true
@@ -87,7 +87,7 @@ jobs:
8787
# Check contributing guidelines acceptance:
8888
- name: 'Check contributing guidelines acceptance'
8989
env:
90-
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }}
90+
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
9191
PR_NUMBER: ${{ github.event.pull_request.number || inputs.pull_request_number }}
9292
run: |
9393
. "$GITHUB_WORKSPACE/.github/workflows/scripts/check_contributing_guidelines_acceptance" $PR_NUMBER

.github/workflows/check_licenses.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
# Checkout the repository:
6060
- name: 'Checkout repository'
6161
# Pin action to full length commit SHA
62-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
62+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6363
with:
6464
# Specify whether to remove untracked files before checking out the repository:
6565
clean: false
@@ -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@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
84+
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.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@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
131+
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
132132
if: always()
133133
with:
134134
# Define a name for the uploaded artifact:

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
# Checkout the repository:
9494
- name: 'Checkout repository'
9595
# Pin action to full length commit SHA
96-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
96+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9797
with:
9898
# Specify whether to remove untracked files before checking out the repository:
9999
clean: false
@@ -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@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
124+
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
125125
with:
126126
node-version: '20' # 'lts/*'
127127
timeout-minutes: 5
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
#/
2+
# @license Apache-2.0
3+
#
4+
# Copyright (c) 2025 The Stdlib Authors.
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#/
18+
19+
# Workflow name:
20+
name: create_address_commit_comment_issues
21+
22+
# Workflow triggers:
23+
on:
24+
# Run the workflow daily at midnight UTC:
25+
schedule:
26+
- cron: '0 0 * * *'
27+
28+
# Allow the workflow to be manually run:
29+
workflow_dispatch:
30+
31+
# Global permissions:
32+
permissions:
33+
# Allow read-only access to the repository contents:
34+
contents: read
35+
36+
# Workflow jobs:
37+
jobs:
38+
39+
# Define a job for creating issues from commit comments...
40+
create_issues:
41+
42+
# Define a display name:
43+
name: 'Create issues from commit comments'
44+
45+
# Ensure the job does not run on forks:
46+
if: github.repository == 'stdlib-js/stdlib'
47+
48+
# Define the type of virtual host machine:
49+
runs-on: ubuntu-latest
50+
51+
# Define the sequence of job steps...
52+
steps:
53+
# Checkout the repository:
54+
- name: 'Checkout repository'
55+
# Pin action to full length commit SHA
56+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
57+
with:
58+
# Specify whether to remove untracked files before checking out the repository:
59+
clean: false
60+
61+
# Limit clone depth to the most recent commit:
62+
fetch-depth: 1
63+
64+
# Specify whether to download Git-LFS files:
65+
lfs: false
66+
timeout-minutes: 10
67+
68+
# Create issues from commit comments:
69+
- name: 'Create issues from commit comments'
70+
env:
71+
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
72+
run: |
73+
. "$GITHUB_WORKSPACE/.github/workflows/scripts/create_address_commit_comments_issues" 14
74+
timeout-minutes: 15

.github/workflows/generate_pr_commit_message.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
# Checkout repository:
6161
- name: 'Checkout repository'
6262
# Pin action to full length commit SHA
63-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
63+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6464
with:
6565
# Fetch all commits to ensure we have the full commit history:
6666
fetch-depth: 0

.github/workflows/git_note_amend_message.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
# Checkout the repository:
7777
- name: 'Checkout repository'
7878
# Pin action to full length commit SHA
79-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
79+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8080
with:
8181
# Fetch all history to allow creating a Git note for any commit:
8282
fetch-depth: 0

.github/workflows/git_note_filter_packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
# Checkout the repository:
7777
- name: 'Checkout repository'
7878
# Pin action to full length commit SHA
79-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
79+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8080
with:
8181
# Fetch all history to allow creating a Git note for any commit:
8282
fetch-depth: 0

.github/workflows/good_first_issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: 'Add comment'
5353
run: gh issue comment "$NUMBER" --body "$BODY"
5454
env:
55-
GH_TOKEN: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }}
55+
GH_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
5656
GH_REPO: ${{ github.repository }}
5757
NUMBER: ${{ github.event.issue.number }}
5858
BODY: |

.github/workflows/labeler.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ jobs:
6363
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
6464
with:
6565
configuration-path: .github/labeler.yml
66-
repo-token: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }}
66+
repo-token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
6767

6868
# Add "First-time Contributor" label if PR is from a first-time contributor:
6969
- name: 'Add "First-time Contributor" label if PR is from a first-time contributor'
7070
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' }}
7171
# Pin action to full-length commit SHA
7272
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
7373
with:
74-
github-token: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }}
74+
github-token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
7575
script: |
7676
const { data: pr } = await github.rest.pulls.get({
7777
'owner': context.repo.owner,
@@ -96,7 +96,7 @@ jobs:
9696
# Pin action to full length commit SHA
9797
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
9898
with:
99-
github-token: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }}
99+
github-token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
100100
script: |
101101
await github.rest.issues.addLabels({
102102
'owner': context.repo.owner,
@@ -111,7 +111,7 @@ jobs:
111111
# Pin action to full length commit SHA
112112
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
113113
with:
114-
github-token: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }}
114+
github-token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
115115
script: |
116116
await github.rest.issues.addLabels({
117117
'owner': context.repo.owner,
@@ -126,7 +126,7 @@ jobs:
126126
# Pin action to full length commit SHA
127127
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
128128
with:
129-
github-token: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }}
129+
github-token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
130130
script: |
131131
try {
132132
await github.rest.issues.removeLabel({
@@ -144,7 +144,7 @@ jobs:
144144
if: ${{ github.event.action == 'labeled' && github.event.label.name == 'Ready To Merge' }}
145145
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
146146
with:
147-
github-token: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }}
147+
github-token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
148148
script: |
149149
const labelsToRemove = [ 'Needs Review', 'Needs Changes' ];
150150
for ( const label of labelsToRemove ) {
@@ -166,7 +166,7 @@ jobs:
166166
# Pin action to full length commit SHA
167167
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
168168
with:
169-
github-token: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }}
169+
github-token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
170170
script: |
171171
const prAuthor = context.payload.pull_request.user.login;
172172
const { owner, repo } = context.repo;

0 commit comments

Comments
 (0)