Skip to content

fix: downgrade YamlDotNet to 16.3.0 (16.3.1 not published as stable) #38

fix: downgrade YamlDotNet to 16.3.0 (16.3.1 not published as stable)

fix: downgrade YamlDotNet to 16.3.0 (16.3.1 not published as stable) #38

Workflow file for this run

name: Sync Version.props
on:
push:
branches: [main]
paths: ['src/Build/Common/Version.props']
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
path: sdk
- uses: actions/checkout@v6
with:
repository: ANcpLua/ANcpLua.Analyzers
token: ${{ secrets.CROSS_REPO_TOKEN }}
path: analyzers
- run: cp sdk/src/Build/Common/Version.props analyzers/Version.props
- uses: peter-evans/create-pull-request@v8
id: cpr
with:
path: analyzers
token: ${{ secrets.CROSS_REPO_TOKEN }}
branch: auto/sync-version-props
title: 'chore: sync Version.props from SDK'
delete-branch: true
- name: Enable auto-merge
if: steps.cpr.outputs.pull-request-number
run: gh pr merge ${{ steps.cpr.outputs.pull-request-number }} --repo ANcpLua/ANcpLua.Analyzers --squash --auto
env:
GH_TOKEN: ${{ secrets.CROSS_REPO_TOKEN }}