Skip to content

Commit dc556d9

Browse files
committed
Add quotes and fix comment step
1 parent 2ce6853 commit dc556d9

6 files changed

Lines changed: 14 additions & 15 deletions

.github/workflows/first_time_greeting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
steps:
3636

3737
# Greet first-time contributors:
38-
- name: Greet first-time contributors
38+
- name: 'Greet first-time contributors'
3939
uses: actions/first-interaction@v1
4040
with:
4141
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/lint_changed_files.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,14 @@ jobs:
7272
timeout-minutes: 5
7373

7474
# Get list of changed files:
75-
- name: Get list of changed files
75+
- name: 'Get list of changed files'
7676
id: changed-files
7777
uses: tj-actions/changed-files@v32
7878
with:
7979
separator: ' '
8080

8181
# Lint file names
82-
- name: Lint file names
82+
- name: 'Lint file names'
8383
run: |
8484
# Determine root directory:
8585
root=$(git rev-parse --show-toplevel)

.github/workflows/lint_random_files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ jobs:
172172
echo "::set-output name=files::$files"
173173
174174
# Lint file names
175-
- name: Lint file names
175+
- name: 'Lint file names'
176176
run: |
177177
# Determine root directory:
178178
root=$(git rev-parse --show-toplevel)

.github/workflows/scaffold_pkg_via_branch_push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ jobs:
5353
lfs: false
5454

5555
# Get list of changed files:
56-
- name: Get list of changed files
56+
- name: 'Get list of changed files'
5757
id: changed-files
5858
uses: tj-actions/changed-files@v32
5959
with:
6060
separator: ' '
6161

6262
# Run the command to scaffold a package:
63-
- name: Scaffold package
63+
- name: 'Scaffold package'
6464
id: scaffold
6565
uses: stdlib-js/scaffold-pkg-pr-action@main
6666
with:

.github/workflows/scaffold_pkg_via_issue_comment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,22 @@ jobs:
3333
# Define the sequence of job steps...
3434
steps:
3535
# Exit if comment does not contain scaffolding directive:
36-
- name: Exit if comment does not contain scaffolding directive
36+
- name: 'Exit if comment does not contain scaffolding directive'
3737
if: ${{ !contains(github.event.comment.body, 'scaffold') }}
3838
run: exit 0
3939

4040
# Checkout the current branch:
4141
- uses: actions/checkout@v2
4242

4343
# Run the command to scaffold a package:
44-
- name: Scaffold package
44+
- name: 'Scaffold package'
4545
id: scaffold
4646
uses: stdlib-js/scaffold-pkg-pr-action@main
4747
with:
4848
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
4949

5050
# Create a pull request:
51-
- name: Create pull request
51+
- name: 'Create pull request'
5252
uses: peter-evans/create-pull-request@v3
5353
with:
5454
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/scaffold_pkg_via_pull_request_assignment.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
git fetch --all
9898
9999
# Get list of changed files:
100-
- name: Get list of changed files
100+
- name: 'Get list of changed files'
101101
id: changed-files
102102
uses: tj-actions/changed-files@v32
103103
with:
@@ -137,7 +137,7 @@ jobs:
137137
git checkout $SCAFFOLD_BRANCH
138138
139139
# Run the command to scaffold a package:
140-
- name: Scaffold package
140+
- name: 'Scaffold package'
141141
id: scaffold
142142
uses: stdlib-js/scaffold-pkg-pr-action@main
143143
with:
@@ -146,13 +146,13 @@ jobs:
146146
added-files: ${{ steps.changed-files.outputs.added_files }}
147147

148148
# Commit changes:
149-
- name: Commit changes
149+
- name: 'Commit changes'
150150
run: |
151151
git add -A
152152
git commit -m "Scaffold ${{ steps.extract-readme.outputs.pkg_path }} package files"
153153
154154
# Push changes to `stdlib-js/stdlib` repository:
155-
- name: Push changes to `stdlib-js/stdlib` repository
155+
- name: 'Push changes to `stdlib-js/stdlib` repository'
156156
env:
157157
GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
158158
run: |
@@ -167,10 +167,9 @@ jobs:
167167
168168
# Add a comment to the pull request:
169169
- name: 'Add comment to pull request'
170-
if: steps.check-branch-name.outputs.issue-number != ''
171170
uses: peter-evans/create-or-update-comment@v1
172171
with:
173-
issue-number: ${{ steps.check-branch-name.outputs.issue-number }}
172+
issue-number: ${{ github.event.pull_request.number }}
174173
body: |
175174
Based off the `README.md` file, the [stdlib-bot](https://github.com/stdlib-bot) has generated contents for the [${{ steps.scaffold.outputs.alias }}](../tree/${{ steps.scaffold.outputs.path }}/${{ steps.scaffold.outputs.dir }}) package.
176175

0 commit comments

Comments
 (0)