File tree Expand file tree Collapse file tree 5 files changed +48
-4
lines changed
cmd/cloud-run/slackmessagesender
configs/terraform/modules/slack-message-sender Expand file tree Collapse file tree 5 files changed +48
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : renovate-auto-approve
2
+
3
+ on :
4
+ pull_request_target :
5
+ types :
6
+ - opened
7
+ - reopened
8
+ - review_requested
9
+ - synchronize
10
+ jobs :
11
+ renovate-auto-approve :
12
+ runs-on : ubuntu-latest
13
+ permissions :
14
+ pull-requests : write
15
+ id-token : write
16
+ if : github.actor == 'renovate[bot]' && startsWith(github.head_ref, 'renovate/')
17
+ steps :
18
+ - name : Configure Workload Identity Federation
19
+ id : auth
20
+ uses : google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093 # v3
21
+ with :
22
+ project_id : ${{ vars.GCP_KYMA_PROJECT_PROJECT_ID }}
23
+ workload_identity_provider : ${{ vars.GH_COM_KYMA_PROJECT_GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER }}
24
+
25
+ - name : Fetch Kyma Bot Token For Auto Approve
26
+ id : access-secret
27
+ uses : google-github-actions/get-secretmanager-secrets@bc9c54b29fdffb8a47776820a7d26e77b379d262 # v3
28
+ with :
29
+ secrets : |
30
+ GITHUB_TOKEN:${{ vars.GCP_KYMA_PROJECT_PROJECT_ID }}/${{ vars.GH_COM_KYMA_BOT_AUTO_APPROVER_TOKEN_SECRET_NAME }}
31
+
32
+ - name : Auto Approve PR
33
+ uses : hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4
34
+ with :
35
+ review-message : " Auto approval of PR generated by Renovate Bot"
36
+ github-token : ${{ steps.access-secret.outputs.GITHUB_TOKEN }}
37
+
38
+ - name : Add auto-approved Label to PR
39
+ run : gh pr edit "$NUMBER" --add-label "$LABELS"
40
+ env :
41
+ GH_REPO : ${{ github.repository }}
42
+ GH_TOKEN : ${{ steps.access-secret.outputs.GITHUB_TOKEN }}
43
+ NUMBER : ${{ github.event.pull_request.number }}
44
+ LABELS : auto-approved
Original file line number Diff line number Diff line change 9
9
10
10
plugin "google" {
11
11
enabled = true
12
- version = " 0.35 .0"
12
+ version = " 0.36 .0"
13
13
source = " github.com/terraform-linters/tflint-ruleset-google"
14
14
}
15
15
Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ flask>=2.3.2
4
4
cloudevents == 1.12.0
5
5
gunicorn == 23.0.0
6
6
pygithub == 2.8.1
7
- pyyaml == 6.0.2
7
+ pyyaml == 6.0.3
8
8
werkzeug >= 3.0.6
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ resource "google_cloud_run_service" "slack_message_sender" {
38
38
spec {
39
39
service_account_name = google_service_account. slack_message_sender . email
40
40
containers {
41
- image = " europe-docker.pkg.dev/kyma-project/prod/test-infra/slackmessagesender:v20250910-77a3f821 "
41
+ image = " europe-docker.pkg.dev/kyma-project/prod/test-infra/slackmessagesender:v20250925-ea9d9cf9 "
42
42
env {
43
43
name = " PROJECT_ID"
44
44
value = var. gcp_project_id
Original file line number Diff line number Diff line change 7
7
- europe-docker.pkg.dev/kyma-project/prod/test-infra/rotate-service-account:v20250924-935a21c6
8
8
- europe-docker.pkg.dev/kyma-project/prod/test-infra/service-account-keys-cleaner:v20250924-935a21c6
9
9
- europe-docker.pkg.dev/kyma-project/prod/test-infra/signify-secret-rotator:v20250917-e51a4bba
10
- - europe-docker.pkg.dev/kyma-project/prod/test-infra/slackmessagesender:v20250910-77a3f821
10
+ - europe-docker.pkg.dev/kyma-project/prod/test-infra/slackmessagesender:v20250925-ea9d9cf9
11
11
mend :
12
12
language : golang-mod
13
13
exclude :
You can’t perform that action at this time.
0 commit comments