Here at Honeybadger, we are big fans of GitHub Actions' workflow automation and CI/CD features. We like it so much that we decided to add two of our own contributions to the community!

Now you can trace stacks at light speed by uploading your source maps to Honeybadger directly from GitHub using your original, un-minified Javascript code.

Example:

on:
  push:
    branches:
      - master

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - uses: honeybadger-io/github-upload-sourcemap-action@master
      with:
        api_key: ${{ secrets.HONEYBADGER_API_KEY }}
        minified_url: https://example.com/assets/application.min.js
        minified_file: path/to/application.min.js
        source_map: path/to/application.js.map

See our sourcemap action here.

Are you ready for more? You can also send deployment notifications to Honeybadger within GitHub. Next time you notice a spike in errors you can associate them to any changes that were deployed.

Example:

on:
  push:
    branches:
      - master

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - uses: honeybadger-io/github-notify-deploy-action@v1
      with:
        api_key: ${{ secrets.HONEYBADGER_API_KEY }}

Check out our notify deploy action here.

We are excited to see what else is released in the coming months as GitHub Actions continues to evolve.

What to do next:
  1. Try Honeybadger for FREE
    Honeybadger helps you find and fix errors before your users can even report them. Get set up in minutes and check monitoring off your to-do list.
    Start free trial
    Easy 5-minute setup — No credit card required
  2. Get the Honeybadger newsletter
    Each month we share news, best practices, and stories from the DevOps & monitoring community—exclusively for developers like you.