Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/pipelines/github-forward.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ extends:
$env:GIT_CONFIG_VALUE_0 = "AUTHORIZATION: basic $auth"
git fetch omexgithubremote $env:GITHUBBRANCH
git checkout -b feature/github-bridge-forward $commit
$timestamp = [DateTime]::UtcNow.ToString('yyyy-MM-dd HH:mm')
Write-Host "##vso[task.setvariable variable=PullRequestTimestamp]$timestamp UTC"
env:
GITHUB_APP_TOKEN: $(GitHubAppToken)
- template: pipelines/templates/git-authenticate-steps-wif.yml@OmexPipelines
Expand All @@ -119,7 +121,7 @@ extends:
parameters:
sourceBranchName: 'github-bridge-forward-$(GITHUBCOMMIT)'
targetBranchName: $(GITHUBBRANCH)
title: 'GitHub Forward Integration - $(GITHUBCOMMIT)'
title: 'GitHub Forward Integration - $(PullRequestTimestamp) - $(GITHUBCOMMIT)'
description: 'GitHub forward integration Pull Request for commit ''$(GITHUBCOMMIT)'''
workItemIds: '9421495'
enableAutoComplete: true
Expand Down
10 changes: 9 additions & 1 deletion .github/pipelines/github-packageupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,20 @@ extends:
NuGetConfigPath: NuGet.Config
PropsFilePath: Directory.Packages.props
SdkChannel: 'LTS'
- task: PowerShell@2
displayName: Set PR timestamp
inputs:
targetType: inline
script: |-
$timestamp = [DateTime]::UtcNow.ToString('yyyy-MM-dd HH:mm')
Write-Host "##vso[task.setvariable variable=PullRequestTimestamp]$timestamp UTC"
- task: oenginternal.office-vsts-tasks-extension.e881ce1e-41bc-4f59-b8a2-9a6001f43efe.CreatePullRequest@10
Comment thread
neilr81 marked this conversation as resolved.
Resolved
displayName: Create Pull Request
condition: succeeded()
inputs:
SourceBranchName: nuget_packages_update
TargetBranchName: main
Title: Automatic NuGet package update
Title: 'Automatic NuGet package update - $(PullRequestTimestamp)'
Description: update of NuGet packages
WorkItemId: "12645834"
Pat: $(omexgithubbotinternalpat)
Expand Down
Loading