File tree Expand file tree Collapse file tree 2 files changed +62
-0
lines changed Expand file tree Collapse file tree 2 files changed +62
-0
lines changed Original file line number Diff line number Diff line change
1
+ # PR Labeler documentation: https://github.com/marketplace/actions/labeler
2
+
3
+ dependencies :
4
+ - ' .github/dependabot.yml'
5
+ - ' **/go.mod'
6
+ - ' **/go.sum'
7
+ documentation :
8
+ - ' **/*.md'
9
+ - ' docs/**/*'
10
+ - ' examples/**/*'
11
+ linter :
12
+ - ' .github/workflows/*-lint.yml'
13
+ - ' .golangci.yml'
14
+ provider :
15
+ - ' .go-version'
16
+ - ' gitlab/**/*'
17
+ - ' main.go'
18
+ tests :
19
+ - ' **/*_test.go'
20
+ tools :
21
+ - ' tools/**/*'
22
+ - ' scripts/**/*'
23
+ - ' GNUMakefile'
24
+ workflows :
25
+ - ' .github/**/*'
Original file line number Diff line number Diff line change
1
+ # GitHub Action reference: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
2
+ #
3
+ # Automation for pull requests that requires "write" access.
4
+
5
+ name : pr-target
6
+
7
+ on : [pull_request_target]
8
+
9
+ permissions :
10
+ pull-requests : write
11
+
12
+ jobs :
13
+ labels :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ - uses : actions/labeler@v3
18
+ with :
19
+ configuration-path : .github/labeler-pr-triage.yml
20
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
21
+ -
uses :
pascalgn/[email protected]
22
+ env :
23
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
24
+ # Ignore generated files.
25
+ IGNORED : |
26
+ **/go.sum
27
+ docs/**/*
28
+ with :
29
+ sizes : |
30
+ {
31
+ "0": "XS",
32
+ "10": "S",
33
+ "50": "M",
34
+ "200": "L",
35
+ "800": "XL",
36
+ "2000": "XXL"
37
+ }
You can’t perform that action at this time.
0 commit comments