Skip to content

cdevents/github-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

passing GitHub GitHub release (latest by date)

CDEvents Github Action

GitHub Action to emit CDEvents.

The GitHub Action can be used to create CDEvents and send them as CloudEvents.

Disclaimer 🚧

This GitHub Action is work in work in progress, it will be maintained in sync with the specification.

Inputs

  • source- Required Source
  • subject_id - Required Subject ID
  • subject_pipeline_name- Required Subject Pipeline Name
  • subject_url- Required Subject URL

Example

on: push
name: Main Workflow
jobs:
  sendCDEvent:
    name: Send CDEvent
    runs-on: ubuntu-latest
    steps:
    - name: send CDEvent
      uses: cdevents/github-action@main
      with:
        source: 'my/first/cdevent/program'
        subject_id: 'myPipelineRun1'
        subject_pipeline_name: 'myPipeline'
        subject_url: 'https://example.com/myPipeline'
        version: 0.0.1

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •