diff --git a/jobs/templates/swh-tox.yaml b/jobs/templates/swh-tox.yaml --- a/jobs/templates/swh-tox.yaml +++ b/jobs/templates/swh-tox.yaml @@ -14,15 +14,17 @@ - string: name: DIFF_ID description: ID of the Diff patch to apply, if any + - string: + name: BRANCH + description: Remote branch to diff against + default: origin/master scm: - git: url: https://forge.softwareheritage.org/source/{display-name}.git - branches: - - origin/master wrappers: - phabricator-differential: - apply-to-master: true + apply-to-master: false patch-with-force-flag: true @@ -32,6 +34,7 @@ echo " REPO=$REPO" echo " PHID=$PHID" echo " DIFF_ID=$DIFF_ID" + echo " BRANCH_NAME=$BRANCH_NAME" - shell: | if (python3 -m tox -a | grep -q -e '^flake8-phab$' ); then python3 -m tox -e flake8-phab