Skip to content

Commit 7340e30

Browse files
authored
Fix typo in test.yml (#222)
* Update test.yml * Run npm run lint:fix * Debug info * iterate * Try fixing typo * Removing debug information
1 parent cd145a3 commit 7340e30

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
query pullRequest(
100100
$repo:String!
101101
$owner:String!) {
102-
repository(name:$repo, owner:$owner) {
102+
repository(name:$repo, owner:$owner) {
103103
pullRequests(last:1) {
104104
nodes {
105105
number
@@ -160,8 +160,9 @@ jobs:
160160
variables: |
161161
pr_number: 1
162162
- env:
163-
JSON_DATA: ${{ steps.get_commits_with_variables_parameter.outputs.data }}
163+
JSON_DATA: ${{ steps.get_commits_of_pull_request_with_variables_parameter.outputs.data }}
164164
run: >
165165
COMMITS_COUNT=$(echo ${JSON_DATA} | jq
166166
'.repository.pullRequest.commits[] | length')
167+
167168
[[ ${COMMITS_COUNT} -eq 6 ]] && exit 0 || exit 1

0 commit comments

Comments
 (0)