We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7b1cd1 commit d68454cCopy full SHA for d68454c
services/cirrus.js
@@ -22,6 +22,7 @@ module.exports = {
22
branch: isPr ? env.CIRRUS_BASE_BRANCH : env.CIRRUS_BRANCH,
23
pr,
24
isPr,
25
+ prBranch: isPr ? env.CIRRUS_BRANCH : undefined,
26
slug: env.CIRRUS_REPO_FULL_NAME,
27
root: env.CIRRUS_WORKING_DIR,
28
};
test/services/cirrus.test.js
@@ -25,6 +25,7 @@ test('Push', (t) => {
branch: 'master',
pr: undefined,
isPr: false,
+ prBranch: undefined,
29
slug: 'owner/repo',
30
root: '/',
31
});
@@ -47,6 +48,7 @@ test('PR', (t) => {
47
48
49
pr: '239',
50
isPr: true,
51
+ prBranch: 'pr-branch',
52
53
54
}
0 commit comments