Skip to content

Commit

Permalink
chore: update workflows to not persist credentials and upgrade .NET v…
Browse files Browse the repository at this point in the history
…ersion
  • Loading branch information
chgl committed Jan 26, 2025
1 parent 0dc8add commit 4870642
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 22 deletions.
1 change: 1 addition & 0 deletions .github/workflows/benchmarks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
persist-credentials: false

- name: Install .NET
uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4.1.0
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/buf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
pull-requests: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

- uses: bufbuild/buf-setup-action@9672cee01808979ea1249f81d6d321217b9a10f6 # v1.47.2
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-grpc-utils-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

- name: Container meta for the gRPC utils image
id: container_grpc_utils_meta
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ jobs:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

- name: Download container image
if: ${{ github.event_name == 'pull_request' }}
Expand Down Expand Up @@ -228,6 +230,8 @@ jobs:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

- name: Download container image
if: ${{ github.event_name == 'pull_request' }}
Expand All @@ -246,7 +250,7 @@ jobs:
- name: Install .NET
uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4.1.0
with:
dotnet-version: "8.0.x"
dotnet-version: "9.0.x"

- name: Run migrations tests
env:
Expand Down Expand Up @@ -278,6 +282,8 @@ jobs:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

- name: install iter8 cli
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nightly-chaos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
persist-credentials: false

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3
Expand Down
22 changes: 1 addition & 21 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,6 @@ jobs:
pull-requests: write

steps:
- uses: google-github-actions/release-please-action@e4dc86ba9405554aeba3c6bb2d169500e7d3b4ee # v4.1.1
- uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4.1.3
with:
token: ${{ secrets.MIRACUM_BOT_SEMANTIC_RELEASE_TOKEN }}
release-type: simple
pull-request-title-pattern: "chore: release ${version}"
extra-files: |
src/Directory.Build.props
docker-compose.yaml
README.md
changelog-types: |
[
{ "type": "feat", "section": "Features" },
{ "type": "fix", "section": "Bug Fixes" },
{ "type": "perf", "section": "Performance Improvements" },
{ "type": "docs", "section": "Documentation", "hidden": false },
{
"type": "chore",
"section": "Miscellaneous Chores",
"hidden": false
},
{ "type": "build", "section": "Build", "hidden": false },
{ "type": "ci", "section": "CI/CD", "hidden": false }
]
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.3.5"
}
File renamed without changes.
30 changes: 30 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/refs/heads/main/schemas/config.json",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"include-v-in-tag": true,
"separate-pull-requests": true,
"extra-label": "release-please",
"release-type": "simple",
"packages": {
".": {
"release-type": "simple",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"extra-files": [
{
"type": "generic",
"path": "src/Directory.Build.props"
},
{
"type": "generic",
"path": "compose.yaml"
},
{
"type": "generic",
"path": "README.md"
}
]
}
}
}
1 change: 1 addition & 0 deletions version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.3.5

0 comments on commit 4870642

Please sign in to comment.