Skip to content

Commit 35511d3

Browse files
authored
Merge pull request #3123 from redpanda-data/DOC-883
DOC-883 trigger workflow to update Blobl playground on new tags
2 parents f1724d9 + 54c00da commit 35511d3

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
# Dispatches an event to trigger an update of Go modules for the Bloblang playground
3+
name: update-blobl-playground-modules
4+
on:
5+
push:
6+
tags:
7+
- '*'
8+
permissions:
9+
id-token: write
10+
contents: read
11+
jobs:
12+
dispatch:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: aws-actions/configure-aws-credentials@v4
16+
with:
17+
aws-region: ${{ vars.RP_AWS_CRED_REGION }}
18+
role-to-assume: arn:aws:iam::${{ secrets.RP_AWS_CRED_ACCOUNT_ID }}:role/${{ vars.RP_AWS_CRED_BASE_ROLE_NAME }}${{ github.event.repository.name }}
19+
- uses: aws-actions/aws-secretsmanager-get-secrets@v2
20+
with:
21+
secret-ids: |
22+
,sdlc/prod/github/actions_bot_token
23+
parse-json-secrets: true
24+
- uses: peter-evans/repository-dispatch@v3
25+
with:
26+
token: ${{ env.ACTIONS_BOT_TOKEN }}
27+
repository: redpanda-data/docs-ui
28+
event-type: update-go-mod

0 commit comments

Comments
 (0)