fix: downgrade YamlDotNet to 16.3.0 (16.3.1 not published as stable) #38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |