Skip to content

Commit fa244ea

Browse files
author
David Kale
authored
Paginate and remove old labels (actions#96)
* Paginate to get all changed files. Add option to remove labels * build * format and build
1 parent ebdf5d5 commit fa244ea

File tree

4 files changed

+328
-150
lines changed

4 files changed

+328
-150
lines changed

__tests__/main.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
describe('TODO - Add a test suite', () => {
2-
it('TODO - Add a test', async () => {
3-
});
1+
describe("TODO - Add a test suite", () => {
2+
it("TODO - Add a test", async () => {});
43
});

action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ inputs:
77
configuration-path:
88
description: 'The path for the label configurations'
99
default: '.github/labeler.yml'
10+
required: false
11+
sync-labels:
12+
description: 'Whether or not to remove labels when matching files are reverted'
13+
default: false
14+
required: false
15+
1016
runs:
1117
using: 'node12'
1218
main: 'dist/index.js'

0 commit comments

Comments
 (0)