Skip to content

Commit eb2f8a4

Browse files
authored
Merge branch 'develop' into feat/accessor-nanmin
Signed-off-by: Athan <kgryte@gmail.com>
2 parents ed96a58 + 9b72f0c commit eb2f8a4

File tree

6,475 files changed

+330000
-100356
lines changed

Some content is hidden

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

6,475 files changed

+330000
-100356
lines changed

.github/workflows/autoclose.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,3 +221,30 @@ jobs:
221221
We recommend opening a new pull request with only the intended changes.
222222
223223
Thank you for your interest in stdlib, and we look forward to your future contributions.
224+
225+
# Define a job which closes a pull request if proposed changes duplicate already included changes:
226+
already_resolved:
227+
228+
# Define job name:
229+
name: 'Check for already resolved label'
230+
231+
# Only run this job if the pull request has a specific label:
232+
if: "${{ github.event.label.name == 'autoclose: Already Resolved' }}"
233+
234+
# Define the type of virtual host machine:
235+
runs-on: ubuntu-latest
236+
237+
# Define the sequence of job steps:
238+
steps:
239+
240+
# Close the pull request:
241+
- name: 'Close pull request'
242+
run: gh pr close "$NUMBER" --comment "$BODY"
243+
env:
244+
GH_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
245+
GH_REPO: ${{ github.repository }}
246+
NUMBER: ${{ github.event.pull_request.number }}
247+
BODY: |
248+
Thank you for working on this pull request. However, we cannot accept your contribution as the issue this pull request seeks to resolve has already been addressed in a different pull request or commit.
249+
250+
Thank you again for your interest in stdlib, and we look forward to reviewing your future contributions.

.github/workflows/generate_pr_commit_message.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@ jobs:
5656
# Pin action to full length commit SHA
5757
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5858
with:
59-
# Ensure we have access to the scripts directory:
59+
# Ensure we have access to the scripts directory and .mailmap file for generating the commit message:
6060
sparse-checkout: |
6161
.github/workflows/scripts
62+
.mailmap
6263
sparse-checkout-cone-mode: false
6364

6465
# Generate commit message:

.github/workflows/git_note_amend_message.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
# Import GPG key to sign commits:
121121
- name: 'Import GPG key to sign commits'
122122
# Pin action to full length commit SHA
123-
uses: crazy-max/ghaction-import-gpg@cb9bde2e2525e640591a934b1fd28eef1dcaf5e5 # v6.2.0
123+
uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6.3.0
124124
with:
125125
gpg_private_key: ${{ secrets.STDLIB_BOT_GPG_PRIVATE_KEY }}
126126
passphrase: ${{ secrets.STDLIB_BOT_GPG_PASSPHRASE }}

.github/workflows/git_note_filter_packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ jobs:
129129
# Import GPG key to sign commits:
130130
- name: 'Import GPG key to sign commits'
131131
# Pin action to full length commit SHA
132-
uses: crazy-max/ghaction-import-gpg@cb9bde2e2525e640591a934b1fd28eef1dcaf5e5 # v6.2.0
132+
uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6.3.0
133133
with:
134134
gpg_private_key: ${{ secrets.STDLIB_BOT_GPG_PRIVATE_KEY }}
135135
passphrase: ${{ secrets.STDLIB_BOT_GPG_PASSPHRASE }}

.github/workflows/lint_autofix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ jobs:
161161
# Import GPG key to sign commits:
162162
- name: 'Import GPG key to sign commits'
163163
# Pin action to full length commit SHA
164-
uses: crazy-max/ghaction-import-gpg@cb9bde2e2525e640591a934b1fd28eef1dcaf5e5 # v6.2.0
164+
uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6.3.0
165165
with:
166166
gpg_private_key: ${{ secrets.STDLIB_BOT_GPG_PRIVATE_KEY }}
167167
passphrase: ${{ secrets.STDLIB_BOT_GPG_PASSPHRASE }}

.github/workflows/lint_changed_files.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
# Cache dependencies:
7676
- name: 'Cache dependencies'
7777
# Pin action to full length commit SHA
78-
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
78+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
7979
id: cache
8080
with:
8181
path: |
@@ -264,7 +264,7 @@ jobs:
264264
- name: 'Setup R'
265265
if: ( success() || failure() ) && steps.check-r-files.outputs.files != ''
266266
# Pin action to full length commit SHA
267-
uses: r-lib/actions/setup-r@14a7e741c1cb130261263aa1593718ba42cf443b # v2.11.2
267+
uses: r-lib/actions/setup-r@bd49c52ffe281809afa6f0fecbf37483c5dd0b93 # v2.11.3
268268
with:
269269
r-version: '3.5.3'
270270

.github/workflows/lint_random_files.yml

Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,12 @@ jobs:
230230
\`\`\`
231231
$(cat lint_editorconfig_errors.txt | strip_ansi)
232232
\`\`\`
233+
234+
### Pull Request Instructions
235+
236+
- Please use the following PR title format:
237+
"chore: fix EditorConfig lint errors (issue #<ISSUE_NUMBER>)".
238+
- Reference this issue in the "Related Issues" section of the PR body as "resolves #<ISSUE_NUMBER>".
233239
EOF
234240
235241
. "$GITHUB_WORKSPACE/.github/workflows/scripts/create_sub_issue" \
@@ -370,20 +376,26 @@ jobs:
370376
run: |
371377
BODY_FILE="$GITHUB_WORKSPACE/lint_issue_body.md"
372378
cat << EOF > "$BODY_FILE"
373-
## JavaScript Linting Failures
379+
## JavaScript Linting Failures
374380
375-
Linting failures were detected in the automated JavaScript lint workflow run.
381+
Linting failures were detected in the automated JavaScript lint workflow run.
376382
377-
### Workflow Details
383+
### Workflow Details
378384
379-
- Run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
380-
- Type: JavaScript Linting
381-
- Date: $(date -u +"%Y-%m-%d %H:%M:%S UTC")
385+
- Run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
386+
- Type: JavaScript Linting
387+
- Date: $(date -u +"%Y-%m-%d %H:%M:%S UTC")
382388
383-
### Error Details
384-
\`\`\`
385-
$(cat lint_javascript_errors.txt)
386-
\`\`\`
389+
### Error Details
390+
\`\`\`
391+
$(cat lint_javascript_errors.txt)
392+
\`\`\`
393+
394+
### Pull Request Instructions
395+
396+
- Please use the following PR title format:
397+
"chore: fix JavaScript lint errors (issue #<ISSUE_NUMBER>)".
398+
- Reference this issue in the "Related Issues" section of the PR body as "resolves #<ISSUE_NUMBER>".
387399
EOF
388400
389401
. "$GITHUB_WORKSPACE/.github/workflows/scripts/create_sub_issue" \
@@ -411,7 +423,7 @@ jobs:
411423
- name: 'Setup R'
412424
if: ( github.event.inputs.r != 'false' ) && ( success() || failure() )
413425
# Pin action to full length commit SHA
414-
uses: r-lib/actions/setup-r@14a7e741c1cb130261263aa1593718ba42cf443b # v2.11.2
426+
uses: r-lib/actions/setup-r@bd49c52ffe281809afa6f0fecbf37483c5dd0b93 # v2.11.3
415427
with:
416428
r-version: '4.3.3'
417429

@@ -524,6 +536,12 @@ jobs:
524536
\`\`\`
525537
$(grep -B 1 -A 2 "style:\|warning:\|error:" "lint_c_errors.txt")
526538
\`\`\`
539+
540+
### Pull Request Instructions
541+
542+
- Please use the following PR title format:
543+
"chore: fix C lint errors (issue #<ISSUE_NUMBER>)".
544+
- Reference this issue in the "Related Issues" section of the PR body as "resolves #<ISSUE_NUMBER>".
527545
EOF
528546
529547
. "$GITHUB_WORKSPACE/.github/workflows/scripts/create_sub_issue" \
@@ -561,7 +579,7 @@ jobs:
561579
- name: 'Import GPG key to sign commits'
562580
if: ${{ github.event.inputs.fix == 'true' }} && ( success() || failure() )
563581
# Pin action to full length commit SHA
564-
uses: crazy-max/ghaction-import-gpg@cb9bde2e2525e640591a934b1fd28eef1dcaf5e5 # v6.2.0
582+
uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6.3.0
565583
with:
566584
gpg_private_key: ${{ secrets.STDLIB_BOT_GPG_PRIVATE_KEY }}
567585
passphrase: ${{ secrets.STDLIB_BOT_GPG_PASSPHRASE }}
@@ -573,7 +591,7 @@ jobs:
573591
if: ${{ github.event.inputs.fix == 'true' }} && ( success() || failure() )
574592
id: cpr
575593
# Pin action to full length commit SHA
576-
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
594+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
577595
with:
578596
title: 'style: fix lint errors'
579597
add-paths: ${{ steps.random-files.outputs.files }}

.github/workflows/linux_benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ jobs:
309309
# Send notification to Slack:
310310
- name: 'Send notification'
311311
# Pin action to full length commit SHA
312-
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
312+
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
313313
if: success()
314314
with:
315315
status: "${{ env.NOTIFICATION_STATUS }}"

.github/workflows/linux_examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ jobs:
309309
# Send notification to Slack:
310310
- name: 'Send notification'
311311
# Pin action to full length commit SHA
312-
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
312+
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
313313
if: success()
314314
with:
315315
status: "${{ env.NOTIFICATION_STATUS }}"

.github/workflows/linux_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ jobs:
308308
# Send notification to Slack:
309309
- name: 'Send notification'
310310
# Pin action to full length commit SHA
311-
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
311+
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
312312
if: success()
313313
with:
314314
status: "${{ env.NOTIFICATION_STATUS }}"

0 commit comments

Comments
 (0)