Skip to content

Commit

Permalink
build: move version comment to same line as commit hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Dec 7, 2023
1 parent c4635dc commit 0e37095
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 32 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/first_time_greeting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:

# Greet first-time contributors:
- name: 'Greet first-time contributors'
# Pin action to full length commit SHA corresponding to v1.2.0
uses: actions/first-interaction@1dbfe1ba5525b8257e1f259b09745bee346d62d8
# Pin action to full length commit SHA
uses: actions/first-interaction@1dbfe1ba5525b8257e1f259b09745bee346d62d8 # v1.2.0
with:
repo-token: ${{ secrets.CHATBOT_GITHUB_TOKEN }}
issue-message: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npm_downloads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ jobs:

# Send data to events server:
- name: 'Post data'
# Pin action to full length commit SHA corresponding to v3.0.3:
uses: distributhor/workflow-webhook@48a40b380ce4593b6a6676528cd005986ae56629
# Pin action to full length commit SHA
uses: distributhor/workflow-webhook@48a40b380ce4593b6a6676528cd005986ae56629 # v3.0.3
env:
webhook_url: ${{ secrets.STDLIB_NPM_DOWNLOADS_URL }}
webhook_secret: ${{ secrets.STDLIB_WEBHOOK_SECRET }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/process_metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
steps:
# Exit if the user does not have write access to the repository:
- name: 'Exit if user does not have write access'
# Pin action to full length commit SHA corresponding to v2.0.2
uses: lannonbr/repo-permission-check-action@2bb8c89ba8bf115c4bfab344d6a6f442b24c9a1f
# Pin action to full length commit SHA
uses: lannonbr/repo-permission-check-action@2bb8c89ba8bf115c4bfab344d6a6f442b24c9a1f # v2.0.2
with:
permission: 'write'
env:
Expand All @@ -68,13 +68,13 @@ jobs:
# Extract commit message and issue comment metadata:
- name: 'Extract metadata'
id: extract-metadata
# Pin action to full length commit SHA corresponding to v2.0.2
uses: stdlib-js/metadata-action@503cc11fbcf8802239f29310bd492f7faeddab7e
# Pin action to full length commit SHA
uses: stdlib-js/metadata-action@503cc11fbcf8802239f29310bd492f7faeddab7e # v2.0.2

# Check the metadata for directives to send tweets:
- name: 'Send tweets'
# Pin action to full length commit SHA corresponding to v2.0.0
uses: stdlib-js/metadata-tweet-action@8e9b688c86150797c1c7f60bc8f7c9a9a30e10fe
# Pin action to full length commit SHA
uses: stdlib-js/metadata-tweet-action@8e9b688c86150797c1c7f60bc8f7c9a9a30e10fe # v2.0.0
with:
metadata: ${{ steps.extract-metadata.outputs.metadata }}
TWITTER_CONSUMER_KEY: ${{ secrets.TWITTER_CONSUMER_KEY }}
Expand All @@ -99,8 +99,8 @@ jobs:
# Dispatch first found workflow (if applicable):
- name: 'Dispatch workflow with inputs'
# Pin action to full length commit SHA corresponding to v1.2.2
uses: benc-uk/workflow-dispatch@798e70c97009500150087d30d9f11c5444830385
# Pin action to full length commit SHA
uses: benc-uk/workflow-dispatch@798e70c97009500150087d30d9f11c5444830385 # v1.2.2
if: steps.check-workflow-dispatch.outputs.dispatch == 'true'
with:
workflow: ${{ steps.check-workflow-dispatch.outputs.workflow }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run_tests_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ jobs:
# Post report as comment to PR:
- name: 'Post report as comment to PR'
if: github.event_name == 'pull_request'
# Pin action to full length commit SHA corresponding to v6.4.1
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410
# Pin action to full length commit SHA
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
with:
github-token: ${{ secrets.CHATBOT_GITHUB_TOKEN }}
script: |
Expand All @@ -208,8 +208,8 @@ jobs:
# Post report as comment to commit:
- name: 'Post report as comment to commit'
if: github.event_name == 'push'
# Pin action to full length commit SHA corresponding to v6.4.1
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410
# Pin action to full length commit SHA
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
with:
github-token: ${{ secrets.CHATBOT_GITHUB_TOKEN }}
script: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ jobs:
# Get list of changed files:
- name: 'Get list of changed files'
id: changed-files
# Pin action to full length commit SHA corresponding to v39.2.0
uses: tj-actions/changed-files@8238a4103220c636f2dad328ead8a7c8dbe316a3
# Pin action to full length commit SHA
uses: tj-actions/changed-files@8238a4103220c636f2dad328ead8a7c8dbe316a3 # v39.2.0
with:
separator: ' '
base_sha: ${{ github.event.pull_request.base.sha }}
Expand Down Expand Up @@ -261,8 +261,8 @@ jobs:
# Add comment to the pull request:
- name: 'Add comment to pull request'
# Pin action to full length commit SHA corresponding to v3.0.2
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2
# Pin action to full length commit SHA
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.0.2
with:
issue-number: ${{ github.event.pull_request.number }}
body: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/standalone_push_changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ jobs:
# Retrieve list of changed packages:
- name: 'Find changed packages'
id: 'changed_packages'
# Pin action to full length commit SHA corresponding to v2.0.0
uses: stdlib-js/changed-packages-action@e489c6b4eff164c5912a0b2d17d7462f38c11712
# Pin action to full length commit SHA
uses: stdlib-js/changed-packages-action@e489c6b4eff164c5912a0b2d17d7462f38c11712 # v2.0.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/terminal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@ jobs:

# Setup a terminal session:
- name: 'Setup upterm session'
# Pin action to full length commit SHA corresponding to v1.0.0
uses: lhotari/action-upterm@b0357f23233f5ea6d58947c0c402e0631bab7334
# Pin action to full length commit SHA
uses: lhotari/action-upterm@b0357f23233f5ea6d58947c0c402e0631bab7334 # v1.0.0
8 changes: 4 additions & 4 deletions .github/workflows/track_todos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ jobs:
# Create or update issue for TODO comments:
- name: 'Create or update issue for TODO comments'
# Pin action to full length commit SHA corresponding to v4.0.1
uses: peter-evans/create-issue-from-file@433e51abf769039ee20ba1293a088ca19d573b7f
# Pin action to full length commit SHA
uses: peter-evans/create-issue-from-file@433e51abf769039ee20ba1293a088ca19d573b7f # v4.0.1
with:
title: 'TODO comments'
content-filepath: ./tracking_issue_todos.md
Expand All @@ -89,8 +89,8 @@ jobs:
# Create or update issue for FIXME comments:
- name: 'Create or update issue for FIXME comments'
# Pin action to full length commit SHA corresponding to v4.0.1
uses: peter-evans/create-issue-from-file@433e51abf769039ee20ba1293a088ca19d573b7f
# Pin action to full length commit SHA
uses: peter-evans/create-issue-from-file@433e51abf769039ee20ba1293a088ca19d573b7f # v4.0.1
with:
title: 'FIXME comments'
content-filepath: ./tracking_issue_fixmes.md
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/windows_test_npm_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ jobs:

# Install MSYS2:
- name: 'Install MSYS2'
# Pin action to full length commit SHA corresponding to v2.20.1
uses: msys2/setup-msys2@27b3aa77f672cb6b3054121cfd80c3d22ceebb1d
# Pin action to full length commit SHA
uses: msys2/setup-msys2@27b3aa77f672cb6b3054121cfd80c3d22ceebb1d # v2.20.1
with:
# Set the MSYS system:
msystem: MINGW64
Expand Down Expand Up @@ -236,8 +236,8 @@ jobs:

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

0 comments on commit 0e37095

Please sign in to comment.