File tree Expand file tree Collapse file tree 2 files changed +74
-0
lines changed Expand file tree Collapse file tree 2 files changed +74
-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
+
8
+ documentation :
9
+ - ' **/*.md'
10
+ - ' docs/**/*'
11
+ - ' examples/**/*'
12
+
13
+ linter :
14
+ - ' .github/workflows/*-lint.yml'
15
+ - ' .golangci.yml'
16
+
17
+ provider :
18
+ - ' .go-version'
19
+ - ' gitlab/**/*'
20
+ - ' main.go'
21
+
22
+ resource :
23
+ - ' gitlab/resource_*.go'
24
+
25
+ data-source :
26
+ - ' gitlab/data_source_*.go'
27
+
28
+ tests :
29
+ - ' **/*_test.go'
30
+
31
+ tools :
32
+ - ' tools/**/*'
33
+ - ' scripts/**/*'
34
+ - ' GNUMakefile'
35
+
36
+ workflows :
37
+ - ' .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