Skip to content

Commit

Permalink
feat: attempt to add issue-creation code
Browse files Browse the repository at this point in the history
  • Loading branch information
prototypicalpro committed Jul 28, 2020
1 parent 0fc573b commit 17f84db
Show file tree
Hide file tree
Showing 5 changed files with 544 additions and 39 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ jobs:
uses: ./
with:
config-url: https://raw.githubusercontent.com/aperture-science-incorporated/.github/master/repolinter.json
token: ${{ secrets.PERSONAL_TOKEN }}

10 changes: 9 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@ name: 'Repolinter Action'
description: 'Runs Repolinter against a repository, then uses the results to open an issue.'
author: 'New Relic Opensource'
inputs:
config-file: # change this
config-file:
required: false
description: 'The filename of the Repolinter configuration to use, relative to the repository this action is being run on. Mutually exclusive with configUrl.'
config-url:
required: false
description: 'The URL to pull the Repolinter configuration from. The URL must be publicly accessible. Mutually exclusive with configFile.'
token:
required: false
description: 'GitHub token to use when creating an issue on the current repository'
default: ${{ github.token }}
repository:
required: false
description: 'Repository name with owner. For example, actions/checkout'
default: ${{ github.repository }}
runs:
using: 'node12'
main: 'dist/index.js'
Loading

0 comments on commit 17f84db

Please sign in to comment.