Skip to content

Commit

Permalink
chore: synced file(s) with prom-client-net/prom-tmpl (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47-bot authored Nov 1, 2023
1 parent 2ae45b5 commit a119b5d
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
"assignees": [
"@phnx47"
],
"ignoreDeps": [
"System.Text.Encodings.Web"
],
"packageRules": [
{
"automerge": true,
Expand Down
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-22.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 }}
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ jobs:
with:
name: nupkgs
- name: Push to pkg.github.com
run: dotnet nuget push "**/*.nupkg" -s https://nuget.pkg.github.com/prom-client-net/index.json -k ${{ secrets.GH_FULL_PAT }} --skip-duplicate
run: dotnet nuget push "**/*.nupkg" -s https://nuget.pkg.github.com/prom-client-net/index.json -k ${{ secrets.GH_FULL_PAT }}

nuget:
name: Deploy to NuGet
needs: [build]
Expand Down

0 comments on commit a119b5d

Please sign in to comment.