Skip to content

Commit 3857826

Browse files
authored
chore: enable Dependabot for dependency upgrades (#1836)
1 parent 5b1ccb6 commit 3857826

7 files changed

Lines changed: 32 additions & 24 deletions

File tree

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: gradle
4+
directory: /
5+
schedule:
6+
interval: daily # means every _weekday_ (Monday through Friday)
7+
open-pull-requests-limit: 100

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

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

10-
permissions: { }
10+
permissions:
11+
contents: read
1112

1213
jobs:
1314
api-compat-verification:
1415
runs-on: ubuntu-latest
1516
steps:
1617
- uses: actions/checkout@v2
1718
with:
18-
token: ${{ secrets.CI_USER_PAT }}
1919
fetch-depth: 0
2020
- name: Check for API compatibility
2121
if: ${{ !contains(github.event.pull_request.labels.*.name, 'acknowledge-api-break') }}

.github/workflows/changelog-verification.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Changelog verification
22

33
permissions:
4+
contents: read
45
id-token: write
56

67
on:

.github/workflows/e2e-tests.yml

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

7+
concurrency:
8+
group: e2e-tests-${{ github.ref }}
9+
cancel-in-progress: true
10+
11+
permissions:
12+
id-token: write
13+
contents: read
14+
715
jobs:
816
e2e-tests:
917
runs-on: ubuntu-latest
@@ -30,12 +38,3 @@ jobs:
3038
echo "Cancelling in-progress build: $BUILD_ID"
3139
aws codebuild stop-build --id $BUILD_ID
3240
fi
33-
34-
concurrency:
35-
group: e2e-tests-${{ github.ref }}
36-
cancel-in-progress: true
37-
38-
permissions:
39-
id-token: write
40-
contents: read
41-

.github/workflows/release-metrics.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
release:
55
types: [ published ]
66

7+
permissions:
8+
id-token: write
9+
contents: read
10+
711
jobs:
812
build-sdk:
913
runs-on: ubuntu-latest
@@ -25,7 +29,3 @@ jobs:
2529
project-name: aws-sdk-kotlin-service-build
2630
source-version-override: ${{ github.ref }}
2731
env-vars-for-codebuild: GITHUB_REPOSITORY, UPLOAD, RELEASE_METRICS, IDENTIFIER
28-
29-
permissions:
30-
id-token: write
31-
contents: read

.github/workflows/release-readiness.yml

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

11-
permissions: { }
11+
permissions:
12+
contents: read
1213

1314
jobs:
1415
release-readiness:

.github/workflows/service-ci.yml

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

7+
concurrency:
8+
group: service-ci-${{ github.ref }}
9+
cancel-in-progress: true
10+
11+
permissions:
12+
id-token: write
13+
contents: read
14+
715
jobs:
816
build-sdk:
917
runs-on: ubuntu-latest
@@ -41,11 +49,3 @@ jobs:
4149
echo "Cancelling in-progress build: id=$BUILD_ID"
4250
aws codebuild stop-build --id $BUILD_ID
4351
fi
44-
45-
concurrency:
46-
group: service-ci-${{ github.ref }}
47-
cancel-in-progress: true
48-
49-
permissions:
50-
id-token: write
51-
contents: read

0 commit comments

Comments
 (0)