Giter Site home page Giter Site logo

bugsnag-report-build-action's Introduction

bugsnag-report-build-action

This Github Action that will report a new build to Bugsnag when run.

Inputs

This action uses bugsnag-build-reporter-node under the hood, so for more details on available options see its readme.

apiKey

Required Your Bugsnag API Key.

appVersion

A version string for the build to report. Default: The version in ./package.json for the PR. This will only work if actions/checkout@v2 is used first.

builderName

The name of the person/machine that trigerred this build. Default: The value of whoami.

failCiIfError

If true then CI will fail if this action fails. Default: false.

releaseStage

The release stage of the build. Default: production.

sourceControlProvider

The source control provider. Default: github.

sourceControlRepository

The source control repository. Default: The repository running the Github Action.

sourceControlRevision

The source control revision. Default: The SHA for the running Github Action.

Example usage

uses: lhansford/[email protected]
with:
  apiKey: ${{ secrets.bugsnag_api_key }}
  appVersion: 1.0.0
  failCiIfError: true

Example usage if appVersion is not defined

If appVersion is not defined the action will try to get it from the package.json of the project, so you will need to include actions/checkout@v2 first.

uses: actions/checkout@v2

uses: lhansford/[email protected]
with:
  apiKey: ${{ secrets.bugsnag_api_key }}
  failCiIfError: true

Developing

To deploy new changes:

  • Make changes and update all references to the package version.
  • Push changes to main branch.
  • Check CI passed.
  • Create a new release on Github matching the new version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.