Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into dev/update-skia
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow committed Aug 16, 2023
2 parents f931c34 + 0f4f103 commit 7aac514
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 8 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/backport.yml
@@ -0,0 +1,33 @@
name: Backport

on:
pull_request_target:
types:
- closed
- labeled

jobs:
backport:
name: Backport
runs-on: ubuntu-latest
# Only react to merged PRs for security reasons.
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target.
if: >
github.event.pull_request.merged
&& (
github.event.action == 'closed'
|| (
github.event.action == 'labeled'
&& contains(github.event.label.name, 'backport')
)
)
steps:
- uses: tibdex/backport@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
body_template: >
Backport of <%= mergeCommitSha %> from #<%= number %>.
head_template: "backport/pr-<%= number %>-to-<%= base %>"
label_pattern: "^backport/(?<base>([^ ]+))$"
labels_template: "[ \"backport\" ]"
title_template: "[<%= base %>] <%= title %>"
2 changes: 1 addition & 1 deletion scripts/VERSIONS.txt
Expand Up @@ -35,7 +35,7 @@ SkiaSharp file 3.0.0.0

# HarfBuzzSharp.dll
HarfBuzzSharp assembly 1.0.0.0
HarfBuzzSharp file 2.8.2.4
HarfBuzzSharp file 2.8.2.30

# nuget versions
# SkiaSharp
Expand Down
4 changes: 2 additions & 2 deletions scripts/azure-pipelines-complete.yml
@@ -1,12 +1,12 @@
trigger:
- main
- develop
- patch/*
- release/*

pr:
- main
- develop
- patch/*
- release/*

parameters:
- name: buildExternals
Expand Down
4 changes: 2 additions & 2 deletions scripts/azure-pipelines.yml
@@ -1,12 +1,12 @@
trigger:
- main
- develop
- patch/*
- release/*

pr:
- main
- develop
- patch/*
- release/*

parameters:
- name: buildExternals
Expand Down
6 changes: 3 additions & 3 deletions scripts/azure-templates-stages.yml
Expand Up @@ -456,9 +456,9 @@ stages:
jobs:
- template: sign-artifacts/jobs/v2.yml@xamarin-templates
parameters:
${{ if or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/patch/')) }}:
${{ if or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/')) }}:
signType: 'Real'
${{ if not(or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/patch/'))) }}:
${{ if not(or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'))) }}:
signType: 'Test'

- ${{ if and(eq(variables['System.TeamProject'], 'devdiv'), ne(parameters.buildPipelineType, 'tests'), ne(variables['System.PullRequest.IsFork'], 'true')) }}:
Expand Down Expand Up @@ -820,7 +820,7 @@ stages:
name: native_checks_windows
displayName: Run Code Checks
buildPipelineType: ${{ parameters.buildPipelineType }}
condition: or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/patch/'))
condition: or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'))
vmImage: ${{ parameters.VM_IMAGE_WINDOWS}}
target: git-sync-deps
installAndroidSdk: false
Expand Down

0 comments on commit 7aac514

Please sign in to comment.