File tree 5 files changed +46
-12
lines changed
5 files changed +46
-12
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : ci
3
+
4
+ on : # yamllint disable-line rule:truthy
5
+ push :
6
+ branches :
7
+ - master
8
+ pull_request :
9
+
10
+ jobs :
11
+ validation :
12
+ runs-on : ubuntu-latest
13
+ name : Validate a Pull Request
14
+ steps :
15
+ - uses : actions/checkout@v1
16
+
17
+ - name : Run yamllint
18
+
19
+
20
+ - name : Run ShellCheck
21
+ uses : ludeeus/action-shellcheck@master
Original file line number Diff line number Diff line change 1
1
name : Release Drafter
2
2
3
- on :
3
+ on : # yamllint disable-line rule:truthy
4
4
push :
5
5
branches :
6
6
- master
Original file line number Diff line number Diff line change
1
+ ---
2
+ extends: default
3
+
4
+ rules:
5
+ # Disable requirement for `---` at the beginning of each file
6
+ document-start: disable
Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ This assumption is made so this action works well with [aurpublish].
14
14
15
15
### ` pkgname `
16
16
17
- ** Required** The ` pkgname ` of the package to be validated.
17
+ ** Required** Path to DIRECTORY where the PKGBUILD file is.
18
+ Assumes the directory is the name of package, ie /path/to/pkgname/'
18
19
19
20
## Example usage
20
21
Original file line number Diff line number Diff line change 1
- name : ' Arch Linux PKGBUILD builder action'
2
- description : ' Builds an validates PKGBUILD definition'
1
+ name : Arch Linux PKGBUILD builder action
2
+ description : Builds an validates PKGBUILD definition
3
3
4
4
branding :
5
- icon : ' triangle'
6
- color : ' blue'
5
+ icon : triangle
6
+ color : blue
7
7
8
8
inputs :
9
9
pkgname :
10
- description : ' Path to DIRECTORY where the PKGBUILD file is. Assumes the directory is the name of package, ie /path/to/pkgname/'
10
+ description : >-
11
+ Path to DIRECTORY where the PKGBUILD file is.
12
+ Assumes the directory is the name of package, ie /path/to/pkgname/
11
13
required : true
12
14
target :
13
- description : ' Validation target. Can be one of: "pkgbuild", "srcinfo"'
15
+ description : >-
16
+ Validation target.
17
+ Can be one of: "pkgbuild", "srcinfo", "run"
14
18
required : true
15
19
default : ' pkgbuild'
16
20
command :
17
- description : ' Command to run after package installation'
21
+ description : >-
22
+ Command to run after package installation.
23
+ Used when target=run
18
24
required : false
19
25
debug :
20
- description : ' Turns debugging on'
26
+ description : Turns debugging on
21
27
required : false
22
28
23
29
runs :
24
- using : ' docker'
25
- image : ' Dockerfile'
30
+ using : docker
31
+ image : Dockerfile
26
32
args :
27
33
- ${{ inputs.target }}
28
34
- ${{ inputs.pkgname }}
You can’t perform that action at this time.
0 commit comments