Skip to content

Commit 900f71d

Browse files
committed
build: bump version of used action and fix CSV file save
1 parent b7e463b commit 900f71d

10 files changed

Lines changed: 11 additions & 11 deletions

.github/workflows/lint_random_files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ jobs:
394394
- name: 'Create pull request'
395395
if: ${{ github.event.inputs.fix == 'true' }} && ( success() || failure() )
396396
id: cpr
397-
uses: peter-evans/create-pull-request@v4
397+
uses: peter-evans/create-pull-request@v5
398398
with:
399399
title: 'Fix lint errors'
400400
add-paths: ${{ steps.random-files.outputs.files }}

.github/workflows/markdown_equations.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
- name: 'Create pull request'
134134
id: cpr
135135
if: steps.svg-equations.outputs.changed == 'true' || steps.equation-elements.outputs.changed == 'true'
136-
uses: peter-evans/create-pull-request@v4
136+
uses: peter-evans/create-pull-request@v5
137137
with:
138138
title: 'Update Markdown equation elements'
139139
body: |

.github/workflows/markdown_tocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
# Create a pull request with the updated tables of contents:
103103
- name: 'Create pull request'
104104
id: cpr
105-
uses: peter-evans/create-pull-request@v4
105+
uses: peter-evans/create-pull-request@v5
106106
with:
107107
title: 'Update namespace table of contents'
108108
body: |

.github/workflows/namespace_declarations.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
# Create a pull request with the updated declarations:
9292
- name: 'Create pull request'
9393
id: cpr
94-
uses: peter-evans/create-pull-request@v4
94+
uses: peter-evans/create-pull-request@v5
9595
with:
9696
title: 'Update namespace TypeScript declarations'
9797
body: |

.github/workflows/namespace_exports.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
# Create a pull request with the updated namespace exports:
114114
- name: 'Create pull request'
115115
id: cpr
116-
uses: peter-evans/create-pull-request@v4
116+
uses: peter-evans/create-pull-request@v5
117117
with:
118118
title: 'Update namespace exports'
119119
body: |

.github/workflows/scaffold_pkg_via_issue_comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
# Create a pull request:
6060
- name: 'Create pull request'
6161
if: ${{ contains(github.event.comment.body, 'scaffold') }}
62-
uses: peter-evans/create-pull-request@v4
62+
uses: peter-evans/create-pull-request@v5
6363
with:
6464
token: ${{ secrets.PULL_REQUEST_TOKEN }}
6565
commit-message: 'feat: add `${{ steps.scaffold.outputs.alias }}`'

.github/workflows/update_contributors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
# Create a pull request:
8282
- name: 'Create pull request'
8383
if: steps.update-contributors.outputs.changed == 'true'
84-
uses: peter-evans/create-pull-request@v4
84+
uses: peter-evans/create-pull-request@v5
8585
id: cpr
8686
with:
8787
title: 'Update list of contributors'

.github/workflows/update_error_databases.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@ jobs:
8181
- name: 'Generate comment body with Markdown table of added error codes'
8282
run: |
8383
# Save the added lines from the diff to a temporary file:
84-
git diff lib/node_modules/@stdlib/error/tools/database/data/data.csv | grep '^+' | grep -v '^\+\+' | sed 's/^+//' > /tmp/diff.csv
84+
git diff lib/node_modules/@stdlib/error/tools/database/data/data.csv | grep '^+' | sed 's/^+//' > /tmp/diff.csv
8585
8686
# Convert the CSV file to a TSV file (and drop first line and double quotes):
8787
awk -F '",' 'NR > 1 && !/^++/ { gsub(/^"|"$/, "", $1); gsub(/^"|"$/, "", $2); gsub(/^"|"$/, "", $3); print $1 "\t" $2 "\t" $3 }' /tmp/diff.csv > /tmp/diff.tsv
8888
8989
# Create the Markdown table header:
90-
table="| Code | Error Message | Type |\n|--------|---------------|------|\n"
90+
table="| Code | Error Message | Type |\n|------|---------------|------|\n"
9191
9292
# Extract added lines from the diff and append them to the Markdown table:
9393
while IFS=$'\t' read -r code error_message type; do

.github/workflows/update_package_meta_data.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
# Create a pull request with the updated `package.json` files:
8080
- name: 'Create pull request'
8181
id: cpr
82-
uses: peter-evans/create-pull-request@v4
82+
uses: peter-evans/create-pull-request@v5
8383
with:
8484
title: 'Update package meta data'
8585
body: |

.github/workflows/update_repl_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
# Create a pull request:
102102
- name: 'Create pull request'
103103
id: cpr
104-
uses: peter-evans/create-pull-request@v4
104+
uses: peter-evans/create-pull-request@v5
105105
with:
106106
title: 'Update REPL namespace'
107107
body: |

0 commit comments

Comments
 (0)