Skip to content

Commit b302000

Browse files
authored
Merge 240710f into f064536
2 parents f064536 + 240710f commit b302000

12 files changed

+57
-35
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Checkout Repo
22-
uses: actions/checkout@v6
22+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
2323
with:
2424
submodules: 'recursive'
2525

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Changelog Preview
2+
on:
3+
pull_request:
4+
types:
5+
- opened
6+
- synchronize
7+
- reopened
8+
- edited
9+
- labeled
10+
permissions:
11+
contents: write
12+
pull-requests: write
13+
14+
jobs:
15+
changelog-preview:
16+
uses: getsentry/craft/.github/workflows/changelog-preview.yml@v2
17+
secrets: inherit

.github/workflows/changes-in-high-risk-code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
high_risk_code: ${{ steps.changes.outputs.high_risk_code }}
1717
high_risk_code_files: ${{ steps.changes.outputs.high_risk_code_files }}
1818
steps:
19-
- uses: actions/checkout@v6
19+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
2020
- name: Get changed files
2121
id: changes
2222
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout Repo
23-
uses: actions/checkout@v6
23+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
2424
with:
2525
submodules: 'recursive'
2626

.github/workflows/format-code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v6
11+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
1212
with:
1313
submodules: 'recursive'
1414

.github/workflows/integration-tests-size.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout Repo
23-
uses: actions/checkout@v6
23+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
2424

2525
- name: Setup Java Version
2626
uses: actions/setup-java@v5

.github/workflows/release-build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,18 @@ concurrency:
88
group: ${{ github.workflow }}-${{ github.ref }}
99
cancel-in-progress: true
1010

11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
1115
jobs:
1216
release:
1317
name: Build release artifacts
1418
runs-on: ubuntu-latest
1519

1620
steps:
1721
- name: Checkout Repo
18-
uses: actions/checkout@v6
22+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
1923
with:
2024
submodules: 'recursive'
2125

.github/workflows/release.yml

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,38 @@ on:
33
workflow_dispatch:
44
inputs:
55
version:
6-
description: Version to release
7-
required: true
6+
description: Version to release (or "auto")
7+
required: false
88
force:
9-
description: Force a release even when there are release-blockers (optional)
9+
description: Force a release even when there are release-blockers
1010
required: false
1111
merge_target:
12-
description: Target branch to merge into. Uses the default branch as a fallback (optional)
12+
description: Target branch to merge into
1313
required: false
14+
permissions:
15+
contents: write
16+
pull-requests: write
1417

1518
jobs:
1619
release:
1720
runs-on: ubuntu-latest
18-
name: "Release a new version"
21+
name: Release a new version
1922
steps:
20-
- name: Get auth token
21-
id: token
22-
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
23-
with:
24-
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
25-
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
26-
- uses: actions/checkout@v6
27-
with:
28-
token: ${{ steps.token.outputs.token }}
29-
# Needs to be set, otherwise git describe --tags will fail with: No names found, cannot describe anything
30-
fetch-depth: 0
31-
submodules: 'recursive'
32-
- name: Prepare release
33-
uses: getsentry/action-prepare-release@v1
34-
env:
35-
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
36-
with:
37-
version: ${{ github.event.inputs.version }}
38-
force: ${{ github.event.inputs.force }}
39-
merge_target: ${{ github.event.inputs.merge_target }}
23+
- name: Get auth token
24+
id: token
25+
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
26+
with:
27+
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
28+
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
29+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
30+
with:
31+
token: ${{ steps.token.outputs.token }}
32+
fetch-depth: 0
33+
- name: Prepare release
34+
uses: getsentry/craft@1c58bfd57bfd6a967b6f3fc92bead2c42ee698ce # v2
35+
env:
36+
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
37+
with:
38+
version: ${{ inputs.version }}
39+
force: ${{ inputs.force }}
40+
merge_target: ${{ inputs.merge_target }}

.github/workflows/spring-boot-2-matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
steps:
3030
- name: Checkout Repo
31-
uses: actions/checkout@v6
31+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
3232
with:
3333
submodules: 'recursive'
3434

.github/workflows/spring-boot-3-matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
steps:
3030
- name: Checkout Repo
31-
uses: actions/checkout@v6
31+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
3232
with:
3333
submodules: 'recursive'
3434

0 commit comments

Comments
 (0)