File tree 3 files changed +21
-6
lines changed 3 files changed +21
-6
lines changed Original file line number Diff line number Diff line change 6
6
pull_request :
7
7
branches : [main]
8
8
9
+ permissions :
10
+ contents : read
11
+
9
12
jobs :
10
13
ci :
11
14
runs-on : ubuntu-latest
16
19
steps :
17
20
- name : Checkout
18
21
uses : actions/checkout@v2
22
+ with :
23
+ persist-credentials : ' false'
19
24
- name : asdf_install
20
- uses : asdf-vm/actions/install@v3.0.2
25
+ uses : asdf-vm/actions/install@05e0d2ed97b598bfce82fd30daf324ae0c4570e6 # v3.0.2
21
26
- run : make install-dev-tools
22
27
# Make asdf aware of globally installed binaries
23
28
- run : asdf reshim
34
39
steps :
35
40
- name : Checkout
36
41
uses : actions/checkout@v2
42
+ with :
43
+ persist-credentials : ' false'
37
44
- name : asdf_install
38
- uses : asdf-vm/actions/install@v3.0.2
45
+ uses : asdf-vm/actions/install@05e0d2ed97b598bfce82fd30daf324ae0c4570e6 # v3.0.2
39
46
- run : make shellcheck
Original file line number Diff line number Diff line change 3
3
branches :
4
4
- main
5
5
6
+ permissions :
7
+ contents : read
8
+
6
9
name : release-please
7
10
jobs :
8
11
release-please :
9
12
runs-on : ubuntu-latest
10
13
steps :
11
- - uses : google-github-actions /release-please-action@v3
14
+ - uses : googleapis /release-please-action@a02a34c4d625f9be7cb89156071d8567266a2445 # v4.2.0
12
15
with :
13
16
release-type : go
14
17
package-name : pyroscope-lambda-extension
Original file line number Diff line number Diff line change 14
14
# tag_name:
15
15
# type: string
16
16
17
+ permissions :
18
+ contents : read
19
+
17
20
jobs :
18
21
publish :
19
22
runs-on : ubuntu-latest
20
23
steps :
21
24
- uses : actions/checkout@v3
25
+ with :
26
+ persist-credentials : ' false'
22
27
- name : asdf_install
23
- uses : asdf-vm/actions/install@v3.0.2
28
+ uses : asdf-vm/actions/install@05e0d2ed97b598bfce82fd30daf324ae0c4570e6 # v3.0.2
24
29
- run : make clean
25
30
- run : make build-amd
26
31
- run : make build-arm
@@ -34,15 +39,15 @@ jobs:
34
39
# use tag_name if available (ie manual invokation)
35
40
- if : ${{ inputs.tag_name == '' }}
36
41
id : update_release_auto
37
- uses : tubone24/update_release@v1.3.1
42
+ uses : tubone24/update_release@c04c17054b939144ec8a7cba969d74992f812d66 # v1.3.1
38
43
env :
39
44
GITHUB_TOKEN : ${{ github.token }}
40
45
with :
41
46
body_path : release.tmp.md
42
47
is_append_body : true
43
48
- if : ${{ inputs.tag_name != '' }}
44
49
id : update_release_manual
45
- uses : tubone24/update_release@v1.3.1
50
+ uses : tubone24/update_release@c04c17054b939144ec8a7cba969d74992f812d66 # v1.3.1
46
51
env :
47
52
GITHUB_TOKEN : ${{ github.token }}
48
53
TAG_NAME : ${{ inputs.tag_name }}
You can’t perform that action at this time.
0 commit comments