Skip to content

Commit 7ece71c

Browse files
authored
fix: update integration test to use createOctokit binding
1 parent f9d72d3 commit 7ece71c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,19 +181,19 @@ jobs:
181181
echo $'\u2705 Test passed' | tee -a $GITHUB_STEP_SUMMARY
182182
183183
test-get-octokit:
184-
name: 'Integration test: getOctokit with token'
184+
name: 'Integration test: createOctokit with token'
185185
runs-on: ubuntu-latest
186186
steps:
187187
- uses: actions/checkout@v4
188188
- uses: ./.github/actions/install-dependencies
189189
- id: secondary-client
190-
name: Create a second client with getOctokit
190+
name: Create a second client with createOctokit
191191
uses: ./
192192
env:
193193
APP_TOKEN: ${{ github.token }}
194194
with:
195195
script: |
196-
const appOctokit = getOctokit(process.env.APP_TOKEN)
196+
const appOctokit = createOctokit(process.env.APP_TOKEN)
197197
const {data} = await appOctokit.rest.repos.get({
198198
owner: context.repo.owner,
199199
repo: context.repo.repo

0 commit comments

Comments
 (0)