diff --git a/azure-pipelines-outpost.yml b/azure-pipelines-outpost.yml index 26aac9f6d..b24aa7e6e 100644 --- a/azure-pipelines-outpost.yml +++ b/azure-pipelines-outpost.yml @@ -6,12 +6,6 @@ trigger: - next - version-* -variables: - ${{ if startsWith(variables['Build.SourceBranch'], 'refs/pull/') }}: - branchName: ${{ replace(variables['System.PullRequest.SourceBranch'], '/', '-') }} - ${{ if startsWith(variables['Build.SourceBranch'], 'refs/heads/') }}: - branchName: ${{ replace(variables['Build.SourceBranchName'], 'refs/heads/', '') }} - stages: - stage: generate jobs: diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5f03da0c7..8c7cfefe3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,10 +17,6 @@ variables: POSTGRES_DB: authentik POSTGRES_USER: authentik POSTGRES_PASSWORD: "EK-5jnKfjrGRm<77" - ${{ if startsWith(variables['Build.SourceBranch'], 'refs/pull/') }}: - branchName: ${{ replace(variables['System.PullRequest.SourceBranch'], '/', '-') }} - ${{ if startsWith(variables['Build.SourceBranch'], 'refs/heads/') }}: - branchName: ${{ replace(variables['Build.SourceBranchName'], 'refs/heads/', '') }} stages: - stage: Lint_and_test