Skip to content

Commit

Permalink
Fix typo in test.yml (#222)
Browse files Browse the repository at this point in the history
* Update test.yml

* Run npm run lint:fix

* Debug info

* iterate

* Try fixing typo

* Removing debug information
  • Loading branch information
kfcampbell authored Jun 23, 2023
1 parent cd145a3 commit 7340e30
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
query pullRequest(
$repo:String!
$owner:String!) {
repository(name:$repo, owner:$owner) {
repository(name:$repo, owner:$owner) {
pullRequests(last:1) {
nodes {
number
Expand Down Expand Up @@ -160,8 +160,9 @@ jobs:
variables: |
pr_number: 1
- env:
JSON_DATA: ${{ steps.get_commits_with_variables_parameter.outputs.data }}
JSON_DATA: ${{ steps.get_commits_of_pull_request_with_variables_parameter.outputs.data }}
run: >
COMMITS_COUNT=$(echo ${JSON_DATA} | jq
'.repository.pullRequest.commits[] | length')
[[ ${COMMITS_COUNT} -eq 6 ]] && exit 0 || exit 1

0 comments on commit 7340e30

Please sign in to comment.