diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..67d247d --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +version: 2 +updates: + +- package-ecosystem: "nuget" + directory: "/" + schedule: + interval: "daily" + +- package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..0e2cc2f --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,22 @@ +tests: +- changed-files: + - any-glob-to-any-file: + - tests/**/* + +CI: +- changed-files: + - any-glob-to-any-file: + - .github/workflows/**/* + - .github/dependabot.yml + - .github/codecov.yml + - .github/labeler.yml + +code style: +- changed-files: + - any-glob-to-any-file: + - .editorconfig + +documentation: +- changed-files: + - any-glob-to-any-file: + - README.md diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 0000000..f34d7e1 --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,21 @@ +# This workflow will triage pull requests and apply a label based on the +# paths that are modified in the pull request. +# +# To use this workflow, you will need to set up a .github/labeler.yml +# file with configuration. For more information, see: +# https://github.com/actions/labeler/blob/master/README.md + +name: Labeler +on: + pull_request_target: + types: + - opened # when PR is opened + +jobs: + label: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + continue-on-error: true diff --git a/Serilog.Sinks.RabbitMQ.sln b/Serilog.Sinks.RabbitMQ.sln index 0272331..50807c6 100644 --- a/Serilog.Sinks.RabbitMQ.sln +++ b/Serilog.Sinks.RabbitMQ.sln @@ -40,11 +40,14 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{E462 ProjectSection(SolutionItems) = preProject .github\codecov.yml = .github\codecov.yml .github\CODEOWNERS = .github\CODEOWNERS + .github\dependabot.yml = .github\dependabot.yml + .github\labeler.yml = .github\labeler.yml EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{D9046050-14F3-4815-979E-80BC1D4657A2}" ProjectSection(SolutionItems) = preProject .github\workflows\ci-build.yml = .github\workflows\ci-build.yml + .github\workflows\label.yml = .github\workflows\label.yml .github\workflows\publish-prerelease.yml = .github\workflows\publish-prerelease.yml .github\workflows\publish-release.yml = .github\workflows\publish-release.yml EndProjectSection