Skip to content

Commit 4048be3

Browse files
authored
Merge pull request #1123 from browserstack/ops/sdk-6279-gha-ci-build-number
fix(ci-info): use GITHUB_RUN_ID for build_number on GitHub Actions [SDK-6279]
2 parents feb799e + bf0bbee commit 4048be3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/helpers/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ exports.getCiInfo = () => {
274274
name: "GitHub Actions",
275275
build_url: `${env.GITHUB_SERVER_URL || 'https://github.com'}/${env.GITHUB_REPOSITORY}/actions/runs/${env.GITHUB_RUN_ID}`,
276276
job_name: env.GITHUB_WORKFLOW || env.GITHUB_JOB,
277-
build_number: env.GITHUB_RUN_NUMBER
277+
build_number: env.GITHUB_RUN_ID
278278
};
279279
}
280280
// Buildkite

0 commit comments

Comments
 (0)