Skip to content

Commit

Permalink
Merge pull request #427 from phnx47/sync/shared-configs/default
Browse files Browse the repository at this point in the history
chore: synced file(s) with phnx47/shared-configs
  • Loading branch information
phnx47 authored Nov 20, 2024
2 parents 0146afd + 14950cf commit 01f3847
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Auto-merge

on:
pull_request:
types: [labeled]
branches:
- "main"

permissions:
pull-requests: write
contents: write

jobs:
automerge:
name: Enable auto-merge
runs-on: ubuntu-24.04
if: github.actor == 'phnx47-bot' && contains(github.event.pull_request.labels.*.name, 'sync')
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run command
run: gh pr merge -s --auto ${{ github.event.pull_request.number }}
env:
GH_TOKEN: ${{ secrets.GH_FULL_PAT }}
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<LangVersion>11.0</LangVersion>
<LangVersion>12.0</LangVersion>
<IsPackable>false</IsPackable>
<NoWarn>CS1591;NETSDK1138</NoWarn>
</PropertyGroup>
Expand Down

0 comments on commit 01f3847

Please sign in to comment.