mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
And also the base branch of the incoming PR's branch
This commit is contained in:
parent
672e98cf0f
commit
74e23b9e26
1 changed files with 1 additions and 0 deletions
|
@ -169,6 +169,7 @@ def echo_parseable_environment(options):
|
|||
'SALT_PR_GIT_URL={0}'.format(pr_details['head']['repo']['clone_url']),
|
||||
'SALT_PR_GIT_BRANCH={0}'.format(pr_details['head']['ref']),
|
||||
'SALT_PR_GIT_COMMIT={0}'.format(pr_details['head']['sha'])
|
||||
'SALT_PR_GIT_BASE_BRANCH={0}'.format(pr_details['base']['ref']),
|
||||
])
|
||||
|
||||
sys.stdout.write('\n\n{0}\n\n'.format('\n'.join(output)))
|
||||
|
|
Loading…
Add table
Reference in a new issue