Skip to content

Commit 1fb625e

Browse files
committed
Merge branch 'master' into fix/regex-hotspot
# Conflicts: # tests/ByteSync.Client.Tests/ByteSync.Client.Tests.csproj # tests/ByteSync.Common.Tests/ByteSync.Common.Tests.csproj
2 parents f36a773 + d603170 commit 1fb625e

File tree

108 files changed

+4901
-1453
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+4901
-1453
lines changed

.github/workflows/trigger-azure-pipeline.yml renamed to .github/workflows/trigger-azure-devops-pipeline.yml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,32 @@ on:
2929
- 'tests/ByteSync.TestsCommon/**'
3030

3131
workflow_dispatch:
32-
32+
33+
permissions:
34+
contents: read
35+
actions: read
36+
3337
jobs:
3438
trigger-azure-pipeline:
35-
if: ${{ github.actor == 'paul-fresquet' }} # allows only paul-fresquet
3639
runs-on: ubuntu-latest
3740
steps:
3841

42+
- name: Check required configuration
43+
run: |
44+
if [ -z "${{ secrets.AZURE_DEVOPS_TOKEN }}" ]; then
45+
echo "Error: AZURE_DEVOPS_TOKEN secret is not set"
46+
exit 1
47+
fi
48+
if [ -z "${{ vars.AZURE_DEVOPS_PROJECT_URL }}" ]; then
49+
echo "Error: AZURE_DEVOPS_PROJECT_URL variable is not set"
50+
exit 1
51+
fi
52+
if [ -z "${{ vars.AZURE_DEVOPS_PIPELINE }}" ]; then
53+
echo "Error: AZURE_DEVOPS_PIPELINE variable is not set"
54+
exit 1
55+
fi
56+
echo "All required configuration is present"
57+
3958
- name: Extract branch name
4059
shell: bash
4160
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_ENV
@@ -66,7 +85,6 @@ jobs:
6685
"${{ vars.AZURE_DEVOPS_PROJECT_URL }}/_apis/pipelines/${{ env.pipelineId }}/runs?api-version=6.0-preview.1")
6786
echo "runId=$(echo $response | jq -r '.id')" >> $GITHUB_ENV
6887
echo "Response: $response"
69-
echo "runId=$(echo $response | jq -r '.id')" >> $GITHUB_ENV
7088
7189
- name: Wait for Pipeline to Complete
7290
id: wait-pipeline

src/ByteSync.Client/Assets/Resources/Resources.Designer.cs

Lines changed: 252 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)