Skip to content
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.
/ annotations-action Public archive

GitHub action for creating annotations from JSON file

License

Notifications You must be signed in to change notification settings

Attest/annotations-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Annotations Action

GitHub action for creating annotations from JSON file

Note

This repository uses npm packages from @attest scope on github; we are working hard to open source these packages.

🔥 Getting started

Make sure you have a ~/.npmrc file setup with a github token (read packages scope) to authenticate with the Github package registry for fe-tools

//npm.pkg.github.com/:_authToken={githubtoken}
@attest:registry=https://npm.pkg.github.com/

Then install with

yarn

Example workflow

workflow.yml

name: workflow
on: [push]
jobs:
  job:
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@v1
      - name: Annotate
        uses: Attest/annotations-action@v0.1.0
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          input: './annotations.json'
          title: 'Annotate Files'

Input file structure

The expected structure for the input is defined here in the source, for an example please look at annotations.json.