File tree 3 files changed +11
-1
lines changed
3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 3
3
push :
4
4
# Release on semantic version tag.
5
5
tags : ['v[0-9]+.[0-9]+.[0-9]+']
6
+
7
+ permissions :
8
+ contents : read
9
+
6
10
jobs :
7
11
release :
8
12
name : 🚀 Release on PGXN
Original file line number Diff line number Diff line change 7
7
tags :
8
8
- ' v*' # Push events to matching v*, i.e. v1.0, v20.15.10
9
9
10
+ permissions :
11
+ contents : write # Required to upload release assets
12
+
10
13
jobs :
11
14
release :
12
15
name : Create Release
@@ -110,7 +113,7 @@ jobs:
110
113
cd ../../../../../..
111
114
112
115
# Create install control file
113
- extension_version=${{ github.ref_name }}
116
+ extension_version=" ${{ github.ref_name }}"
114
117
# strip the leading v
115
118
deb_version=${extension_version:1}
116
119
Original file line number Diff line number Diff line change 3
3
pull_request :
4
4
push : { branches: [master] }
5
5
6
+ permissions :
7
+ contents : read
8
+
6
9
jobs :
7
10
test :
8
11
name : Run tests
You can’t perform that action at this time.
0 commit comments