Skip to content

Commit 3aa75d0

Browse files
committed
Merge branch 'jreleaser' of github.com:awslabs/aws-sdk-kotlin into jreleaser
2 parents eaba3c3 + 24cc12d commit 3aa75d0

File tree

80 files changed

+34705
-7332
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+34705
-7332
lines changed

.github/workflows/api-compat-verification.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
- main
88
- '*-main'
99

10+
permissions: { }
11+
1012
jobs:
1113
api-compat-verification:
1214
runs-on: ubuntu-latest
Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Changelog verification
22

3+
permissions:
4+
id-token: write
5+
36
on:
47
pull_request:
58
types: [ opened, synchronize, reopened, labeled, unlabeled ]
@@ -11,16 +14,11 @@ jobs:
1114
changelog-verification:
1215
runs-on: ubuntu-latest
1316
steps:
14-
- uses: actions/checkout@v4
15-
- name: Check for changelog entry
16-
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-changelog') }}
17-
run: |
18-
git fetch origin ${{ github.base_ref }} --depth 1 && \
19-
git diff remotes/origin/${{ github.base_ref }} --name-only | grep -P "\.changes/[0-9a-f-]+\.json"
20-
- name: Error message
21-
if: ${{ failure() }}
22-
run: |
23-
echo "::error ::No new/updated changelog entry found in /.changes directory. Please either:"
24-
echo "::error ::* Add a changelog entry (see CONTRIBUTING.md for instructions) –or–"
25-
echo "::error ::* Add the 'no-changelog' label to this PR (in rare cases not warranting a changelog entry)"
26-
exit 1
17+
- name: Configure AWS Credentials
18+
uses: aws-actions/configure-aws-credentials@v4
19+
with:
20+
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
21+
aws-region: us-west-2
22+
23+
- name: Verify changelog
24+
uses: awslabs/aws-kotlin-repo-tools/.github/actions/changelog-verification@main

.github/workflows/closed-issue-message.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
name: Closed Issue Message
2+
23
on:
34
issues:
45
types: [closed]
6+
7+
permissions:
8+
issues: write
9+
510
jobs:
611
auto_comment:
712
runs-on: ubuntu-latest

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
pull_request:
55
workflow_dispatch:
66

7+
permissions: { }
8+
79
# Allow one instance of this workflow per pull request, and cancel older runs when new changes are pushed
810
concurrency:
911
group: ci-pr-${{ github.ref }}

.github/workflows/issue-regression-labeler.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: issue-regression-label
33
on:
44
issues:
55
types: [opened, edited]
6+
permissions: { }
67
jobs:
78
add-regression-label:
89
runs-on: ubuntu-latest

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
- '*-main'
1313
workflow_dispatch:
1414

15+
permissions:
16+
contents: read
17+
1518
env:
1619
PACKAGE_NAME: aws-sdk-kotlin
1720

.github/workflows/merge-main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
branches: [ main ]
55
workflow_dispatch:
66

7+
permissions: { }
8+
79
jobs:
810
merge:
911
runs-on: ubuntu-latest

.github/workflows/release-readiness.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
types: [ opened, synchronize, reopened, labeled, unlabeled ]
99
branches: [ main ]
1010

11+
permissions: { }
12+
1113
jobs:
1214
release-readiness:
1315
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ready-for-release') }}

.github/workflows/stale_issue.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
schedule:
66
- cron: "0 0/3 * * *"
77

8+
permissions:
9+
issues: write
10+
811
jobs:
912
cleanup:
1013
name: Stale issue job

.github/workflows/sync-mirror.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches: [ main ]
66
workflow_dispatch:
77

8+
permissions: { }
9+
810
jobs:
911
git-sync:
1012
# Only sync when pushing to source repo

0 commit comments

Comments
 (0)