Skip to content

Commit 2072aab

Browse files
author
Olga Zinoveva
committed
removing some hardcoded values
1 parent 3f2eec2 commit 2072aab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/verifyVersion.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ module.exports = async (github, context) => {
2929
// Ensure the version matches one we support
3030
const recentReleases = (
3131
await github.rest.repos.listReleases({
32-
owner: 'facebook',
33-
repo: 'react-native',
32+
owner: context.repo.owner,
33+
repo: context.repo.repo,
3434
})
3535
).data.map(release => release.name);
3636

3737
const latestRelease = (
3838
await github.rest.repos.getLatestRelease({
39-
owner: 'facebook',
40-
repo: 'react-native',
39+
owner: context.repo.owner,
40+
repo: context.repo.repo,
4141
})
4242
).data;
4343
const latestVersion = parseVersionFromString(latestRelease.name);

0 commit comments

Comments
 (0)