Skip to content

Commit 0e37095

Browse files
committed
build: move version comment to same line as commit hash
1 parent c4635dc commit 0e37095

9 files changed

Lines changed: 32 additions & 32 deletions

.github/workflows/first_time_greeting.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ jobs:
4444

4545
# Greet first-time contributors:
4646
- name: 'Greet first-time contributors'
47-
# Pin action to full length commit SHA corresponding to v1.2.0
48-
uses: actions/first-interaction@1dbfe1ba5525b8257e1f259b09745bee346d62d8
47+
# Pin action to full length commit SHA
48+
uses: actions/first-interaction@1dbfe1ba5525b8257e1f259b09745bee346d62d8 # v1.2.0
4949
with:
5050
repo-token: ${{ secrets.CHATBOT_GITHUB_TOKEN }}
5151
issue-message: |

.github/workflows/npm_downloads.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ jobs:
9595

9696
# Send data to events server:
9797
- name: 'Post data'
98-
# Pin action to full length commit SHA corresponding to v3.0.3:
99-
uses: distributhor/workflow-webhook@48a40b380ce4593b6a6676528cd005986ae56629
98+
# Pin action to full length commit SHA
99+
uses: distributhor/workflow-webhook@48a40b380ce4593b6a6676528cd005986ae56629 # v3.0.3
100100
env:
101101
webhook_url: ${{ secrets.STDLIB_NPM_DOWNLOADS_URL }}
102102
webhook_secret: ${{ secrets.STDLIB_WEBHOOK_SECRET }}

.github/workflows/process_metadata.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343
steps:
4444
# Exit if the user does not have write access to the repository:
4545
- name: 'Exit if user does not have write access'
46-
# Pin action to full length commit SHA corresponding to v2.0.2
47-
uses: lannonbr/repo-permission-check-action@2bb8c89ba8bf115c4bfab344d6a6f442b24c9a1f
46+
# Pin action to full length commit SHA
47+
uses: lannonbr/repo-permission-check-action@2bb8c89ba8bf115c4bfab344d6a6f442b24c9a1f # v2.0.2
4848
with:
4949
permission: 'write'
5050
env:
@@ -68,13 +68,13 @@ jobs:
6868
# Extract commit message and issue comment metadata:
6969
- name: 'Extract metadata'
7070
id: extract-metadata
71-
# Pin action to full length commit SHA corresponding to v2.0.2
72-
uses: stdlib-js/metadata-action@503cc11fbcf8802239f29310bd492f7faeddab7e
71+
# Pin action to full length commit SHA
72+
uses: stdlib-js/metadata-action@503cc11fbcf8802239f29310bd492f7faeddab7e # v2.0.2
7373

7474
# Check the metadata for directives to send tweets:
7575
- name: 'Send tweets'
76-
# Pin action to full length commit SHA corresponding to v2.0.0
77-
uses: stdlib-js/metadata-tweet-action@8e9b688c86150797c1c7f60bc8f7c9a9a30e10fe
76+
# Pin action to full length commit SHA
77+
uses: stdlib-js/metadata-tweet-action@8e9b688c86150797c1c7f60bc8f7c9a9a30e10fe # v2.0.0
7878
with:
7979
metadata: ${{ steps.extract-metadata.outputs.metadata }}
8080
TWITTER_CONSUMER_KEY: ${{ secrets.TWITTER_CONSUMER_KEY }}
@@ -99,8 +99,8 @@ jobs:
9999
100100
# Dispatch first found workflow (if applicable):
101101
- name: 'Dispatch workflow with inputs'
102-
# Pin action to full length commit SHA corresponding to v1.2.2
103-
uses: benc-uk/workflow-dispatch@798e70c97009500150087d30d9f11c5444830385
102+
# Pin action to full length commit SHA
103+
uses: benc-uk/workflow-dispatch@798e70c97009500150087d30d9f11c5444830385 # v1.2.2
104104
if: steps.check-workflow-dispatch.outputs.dispatch == 'true'
105105
with:
106106
workflow: ${{ steps.check-workflow-dispatch.outputs.workflow }}

.github/workflows/run_tests_coverage.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ jobs:
193193
# Post report as comment to PR:
194194
- name: 'Post report as comment to PR'
195195
if: github.event_name == 'pull_request'
196-
# Pin action to full length commit SHA corresponding to v6.4.1
197-
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410
196+
# Pin action to full length commit SHA
197+
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
198198
with:
199199
github-token: ${{ secrets.CHATBOT_GITHUB_TOKEN }}
200200
script: |
@@ -208,8 +208,8 @@ jobs:
208208
# Post report as comment to commit:
209209
- name: 'Post report as comment to commit'
210210
if: github.event_name == 'push'
211-
# Pin action to full length commit SHA corresponding to v6.4.1
212-
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410
211+
# Pin action to full length commit SHA
212+
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
213213
with:
214214
github-token: ${{ secrets.CHATBOT_GITHUB_TOKEN }}
215215
script: |

.github/workflows/scaffold_pkg_via_pull_request_assignment.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ jobs:
101101
# Get list of changed files:
102102
- name: 'Get list of changed files'
103103
id: changed-files
104-
# Pin action to full length commit SHA corresponding to v39.2.0
105-
uses: tj-actions/changed-files@8238a4103220c636f2dad328ead8a7c8dbe316a3
104+
# Pin action to full length commit SHA
105+
uses: tj-actions/changed-files@8238a4103220c636f2dad328ead8a7c8dbe316a3 # v39.2.0
106106
with:
107107
separator: ' '
108108
base_sha: ${{ github.event.pull_request.base.sha }}
@@ -261,8 +261,8 @@ jobs:
261261
262262
# Add comment to the pull request:
263263
- name: 'Add comment to pull request'
264-
# Pin action to full length commit SHA corresponding to v3.0.2
265-
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2
264+
# Pin action to full length commit SHA
265+
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.0.2
266266
with:
267267
issue-number: ${{ github.event.pull_request.number }}
268268
body: |

.github/workflows/standalone_push_changes.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ jobs:
7878
# Retrieve list of changed packages:
7979
- name: 'Find changed packages'
8080
id: 'changed_packages'
81-
# Pin action to full length commit SHA corresponding to v2.0.0
82-
uses: stdlib-js/changed-packages-action@e489c6b4eff164c5912a0b2d17d7462f38c11712
81+
# Pin action to full length commit SHA
82+
uses: stdlib-js/changed-packages-action@e489c6b4eff164c5912a0b2d17d7462f38c11712 # v2.0.0
8383
with:
8484
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8585

.github/workflows/terminal.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,5 @@ jobs:
7474

7575
# Setup a terminal session:
7676
- name: 'Setup upterm session'
77-
# Pin action to full length commit SHA corresponding to v1.0.0
78-
uses: lhotari/action-upterm@b0357f23233f5ea6d58947c0c402e0631bab7334
77+
# Pin action to full length commit SHA
78+
uses: lhotari/action-upterm@b0357f23233f5ea6d58947c0c402e0631bab7334 # v1.0.0

.github/workflows/track_todos.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ jobs:
7676
7777
# Create or update issue for TODO comments:
7878
- name: 'Create or update issue for TODO comments'
79-
# Pin action to full length commit SHA corresponding to v4.0.1
80-
uses: peter-evans/create-issue-from-file@433e51abf769039ee20ba1293a088ca19d573b7f
79+
# Pin action to full length commit SHA
80+
uses: peter-evans/create-issue-from-file@433e51abf769039ee20ba1293a088ca19d573b7f # v4.0.1
8181
with:
8282
title: 'TODO comments'
8383
content-filepath: ./tracking_issue_todos.md
@@ -89,8 +89,8 @@ jobs:
8989
9090
# Create or update issue for FIXME comments:
9191
- name: 'Create or update issue for FIXME comments'
92-
# Pin action to full length commit SHA corresponding to v4.0.1
93-
uses: peter-evans/create-issue-from-file@433e51abf769039ee20ba1293a088ca19d573b7f
92+
# Pin action to full length commit SHA
93+
uses: peter-evans/create-issue-from-file@433e51abf769039ee20ba1293a088ca19d573b7f # v4.0.1
9494
with:
9595
title: 'FIXME comments'
9696
content-filepath: ./tracking_issue_fixmes.md

.github/workflows/windows_test_npm_install.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ jobs:
143143

144144
# Install MSYS2:
145145
- name: 'Install MSYS2'
146-
# Pin action to full length commit SHA corresponding to v2.20.1
147-
uses: msys2/setup-msys2@27b3aa77f672cb6b3054121cfd80c3d22ceebb1d
146+
# Pin action to full length commit SHA
147+
uses: msys2/setup-msys2@27b3aa77f672cb6b3054121cfd80c3d22ceebb1d # v2.20.1
148148
with:
149149
# Set the MSYS system:
150150
msystem: MINGW64
@@ -236,8 +236,8 @@ jobs:
236236

237237
# Install Windows build tools for compiling Node.js native add-ons.
238238
- name: 'Install Windows build tools'
239-
# Pin action to full length commit SHA corresponding to v3.0.0
240-
uses: crazy-max/ghaction-chocolatey@0e015857dd851f84fcb7fb53380eb5c4c8202333
239+
# Pin action to full length commit SHA
240+
uses: crazy-max/ghaction-chocolatey@0e015857dd851f84fcb7fb53380eb5c4c8202333 # v3.0.0
241241
with:
242242
args: install -y visualstudio2019buildtools visualstudio2019-workload-vctools
243243
timeout-minutes: 10

0 commit comments

Comments
 (0)