Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
TyHil committed Nov 11, 2024
1 parent 67647d3 commit 44c9a2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-autocomplete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
git commit -m "Update course data from API"
git push -f origin update-course-data
- name: 'Create PR'
- name: Create PR
uses: actions/github-script@v6
with:
script: |
Expand All @@ -56,7 +56,7 @@ jobs:
base: '270-bug-new-courses-missing-from-search-due-to-outdated-autocomplete-graph',
state: 'open',
});
if (pulls.data.length < 1) {
await github.rest.pulls.create({
title: 'Update course data from API',
Expand All @@ -81,4 +81,4 @@ jobs:
`Updated by Job ${context.job}`,
].join('\n'),
});
}
}

0 comments on commit 44c9a2b

Please sign in to comment.