Skip to content
upload-cloud

GitHub Action

aws-eventbridge-action

v2.0.1 Latest version

aws-eventbridge-action

upload-cloud

aws-eventbridge-action

Publish an event to AWS EventBridge

Installation

Copy and paste the following snippet into your .yml file.

              

- name: aws-eventbridge-action

uses: articulate/aws-eventbridge-action@v2.0.1

Learn more about this action in articulate/aws-eventbridge-action

Choose a version

aws-eventbridge-action

Warning

This project is no longer active.

Send events to AWS EventBridge from your GitHub Action workflow.

Usage

See action.yml for a detailed list of inputs and outputs.

- uses: articulate/aws-eventbridge-action@v2
  with:
    event-bus-name: my-bus-name-or-arn
    source: github.actions
    detail-type: ci
    detail: ${{ toJSON(github.event) }}

To send events, you'll need to configure AWS credentials. You can either set environment variables AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and optionally AWS_SESSION_TOKEN. Or we recommend using aws-actions/configure-aws-credentials.

Development / Publishing

See CONTRIBUTING for more information