Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 53 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,62 @@
version: 2
updates:
- package-ecosystem: "nuget"
directory: "/"
# https://devblogs.microsoft.com/dotnet/using-dependabot-to-manage-dotnet-sdk-updates/
- package-ecosystem: "dotnet-sdk"
directory: /
schedule:
interval: "weekly"
day: "sunday"
day: "tuesday"
open-pull-requests-limit: 1

# NuGet package updates for SRC
- package-ecosystem: nuget
directory: /src
schedule:
interval: weekly
day: sunday
open-pull-requests-limit: 3
rebase-strategy: disabled
- package-ecosystem: "github-actions"
directory: "/"
groups:
microsoft-sbom:
patterns: ['Microsoft.Sbom.*']
testcontainers:
patterns: ['Testcontainers*']
# Grouping for .NET packages (Monorepo)
microsoft:
patterns: [Microsoft.*, System.*]
all-dependencies:
patterns: ['*']

# NuGet package updates for TESTS
- package-ecosystem: nuget
directory: /tests
schedule:
interval: "weekly"
day: "sunday"
interval: weekly
day: sunday
open-pull-requests-limit: 3
rebase-strategy: disabled
groups:
test-dependencies:
patterns: ['coverlet.collector', 'Microsoft.NET.Test.Sdk']
xunit:
patterns: [xunit.*]
# Grouping for Testcontainers
testcontainers:
patterns: ['Testcontainers*']
kafka:
patterns: ['Confluent.Kafka']
rabbitmq:
patterns: ['RabbitMQ.Client']
restassured:
patterns: ['RestAssured.Net']
all-dependencies:
patterns: ['*']

# Github Actions updates
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
day: sunday
open-pull-requests-limit: 3
rebase-strategy: disabled
2 changes: 2 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ permissions: read-all
jobs:
version:
name: Define Version
permissions:
contents: read
uses: ./.github/workflows/steps.dotnet-version.yml
with:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/steps.dotnet-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
publish-package:
description: 'Publish package is enabled ?'
value: ${{ jobs.build_test.outputs.publish-package }}
permissions: read-all

jobs:
build_test:
runs-on: ${{ inputs.runs-on }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/steps.dotnet-nuget-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
secrets:
NUGET_KEY:
required: true
permissions: read-all

jobs:
nuget-publish:
if: ${{ github.event_name != 'pull_request' && github.repository == 'microcks/microcks-testcontainers-dotnet' }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/steps.dotnet-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
majorMinorPatch:
description: 'majorMinorPatch (gitversion)'
value: ${{ jobs.define_version.outputs.majorMinorPatch }}
permissions: read-all

jobs:
define_version:
runs-on: ${{ inputs.runs-on }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/steps.github-release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
jobs:
release_drafter:
if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }}
permissions:
contents: write
deployments: write
runs-on: ${{ inputs.runs-on }}
steps:
- name: 🔄 Checkout
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/steps.publish-test-reporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
required: false
type: string
default: 'ubuntu-latest'
permissions:
contents: read
actions: read
checks: write

jobs:
report:
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "8.0.200",
"version": "9.0.303",
"rollForward": "latestMinor"
}
}