Skip to content

Commit

Permalink
Paginate and remove old labels (#96)
Browse files Browse the repository at this point in the history
* Paginate to get all changed files. Add option to remove labels

* build

* format and build
  • Loading branch information
David Kale committed Sep 8, 2020
1 parent ebdf5d5 commit fa244ea
Show file tree
Hide file tree
Showing 4 changed files with 328 additions and 150 deletions.
5 changes: 2 additions & 3 deletions __tests__/main.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
describe('TODO - Add a test suite', () => {
it('TODO - Add a test', async () => {
});
describe("TODO - Add a test suite", () => {
it("TODO - Add a test", async () => {});
});
6 changes: 6 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ inputs:
configuration-path:
description: 'The path for the label configurations'
default: '.github/labeler.yml'
required: false
sync-labels:
description: 'Whether or not to remove labels when matching files are reverted'
default: false
required: false

runs:
using: 'node12'
main: 'dist/index.js'
Loading

1 comment on commit fa244ea

@pearlboss
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.