Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC-883 trigger workflow to update Blobl playground on new tags #3123

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/update-blobl-playground.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
# Dispatches an event to trigger an update of Go modules for the Bloblang playground
name: update-blobl-playground-modules
on:
push:
tags:
- '*'
permissions:
id-token: write
contents: read
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ vars.RP_AWS_CRED_REGION }}
role-to-assume: arn:aws:iam::${{ secrets.RP_AWS_CRED_ACCOUNT_ID }}:role/${{ vars.RP_AWS_CRED_BASE_ROLE_NAME }}${{ github.event.repository.name }}
- uses: aws-actions/aws-secretsmanager-get-secrets@v2
with:
secret-ids: |
,sdlc/prod/github/actions_bot_token
parse-json-secrets: true
- uses: peter-evans/repository-dispatch@v3
with:
token: ${{ env.ACTIONS_BOT_TOKEN }}
repository: redpanda-data/docs-ui
event-type: update-go-mod
Loading