File tree 4 files changed +34
-14
lines changed
4 files changed +34
-14
lines changed Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
11
11
steps :
12
- - uses : actions/checkout@v4
13
- - uses : oven-sh/setup-bun@v1
12
+ - name : Harden the runner (Audit all outbound calls)
13
+ uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
14
+ with :
15
+ egress-policy : audit
16
+
17
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18
+ - uses : oven-sh/setup-bun@f4d14e03ff726c06358e5557344e1da148b56cf7 # v1.2.2
14
19
15
20
- name : Install Dependencies
16
21
run : bun install
Original file line number Diff line number Diff line change 12
12
runs-on : ubuntu-latest
13
13
14
14
steps :
15
- - uses : actions/checkout@v4
16
- - uses : oven-sh/setup-bun@v1
15
+ - name : Harden the runner (Audit all outbound calls)
16
+ uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
17
+ with :
18
+ egress-policy : audit
19
+
20
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21
+ - uses : oven-sh/setup-bun@f4d14e03ff726c06358e5557344e1da148b56cf7 # v1.2.2
17
22
18
23
- name : Install Dependencies
19
24
run : bun install
33
38
UPSTASH_REDIS_REST_TOKEN : ${{ secrets.UPSTASH_REDIS_REST_TOKEN }}
34
39
35
40
- name : Deploy
36
- uses : AdrianGonz97/refined-cf-pages-action@v1
41
+ uses : AdrianGonz97/refined-cf-pages-action@6f7dc14a750d860b899996c827c94925b798cb38 # v1.2.6
37
42
with :
38
43
githubToken : ${{ secrets.GH_TOKEN }}
39
44
apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
Original file line number Diff line number Diff line change @@ -18,19 +18,24 @@ jobs:
18
18
runs-on : ubuntu-latest
19
19
20
20
steps :
21
- - uses : actions/checkout@v4
22
- - uses : oven-sh/setup-bun@v1
21
+ - name : Harden the runner (Audit all outbound calls)
22
+ uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
23
+ with :
24
+ egress-policy : audit
25
+
26
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27
+ - uses : oven-sh/setup-bun@f4d14e03ff726c06358e5557344e1da148b56cf7 # v1.2.2
23
28
24
29
- name : Install Dependencies
25
30
run : bun install
26
31
27
32
- name : Get git branch name
28
33
id : branch-name
29
- uses : tj-actions/branch-names@v8
34
+ uses : tj-actions/branch-names@6871f53176ad61624f978536bbf089c574dc19a2 # v8.0.1
30
35
31
36
32
37
- id : create-branch
33
- uses : neondatabase/create-branch-action@v5
38
+ uses : neondatabase/create-branch-action@34f619c41c6e67b4f2f13f1c6eae90827a5f2cf4 # v5
34
39
with :
35
40
project_id : delicate-smoke-42060837
36
41
username : " neondb_owner" # Change this to the role you use to connect to your database
53
58
UPSTASH_REDIS_REST_TOKEN : ${{ secrets.UPSTASH_REDIS_REST_TOKEN }}
54
59
55
60
- name : Deploy API
56
- uses : AdrianGonz97/refined-cf-pages-action@v1
61
+ uses : AdrianGonz97/refined-cf-pages-action@6f7dc14a750d860b899996c827c94925b798cb38 # v1.2.6
57
62
id : deploy-api
58
63
with :
59
64
githubToken : ${{ secrets.GH_TOKEN }}
72
77
73
78
- name : Deploy Web
74
79
id : deploy-web
75
- uses : AdrianGonz97/refined-cf-pages-action@v1
80
+ uses : AdrianGonz97/refined-cf-pages-action@6f7dc14a750d860b899996c827c94925b798cb38 # v1.2.6
76
81
with :
77
82
githubToken : ${{ secrets.GH_TOKEN }}
78
83
apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
Original file line number Diff line number Diff line change 12
12
runs-on : ubuntu-latest
13
13
14
14
steps :
15
- - uses : actions/checkout@v4
16
- - uses : oven-sh/setup-bun@v1
15
+ - name : Harden the runner (Audit all outbound calls)
16
+ uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
17
+ with :
18
+ egress-policy : audit
19
+
20
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21
+ - uses : oven-sh/setup-bun@f4d14e03ff726c06358e5557344e1da148b56cf7 # v1.2.2
17
22
18
23
- name : Install Dependencies
19
24
run : bun install
24
29
VITE_CLOUDFLARE_TURNSTILE_SITE_KEY : ${{ secrets.VITE_CLOUDFLARE_TURNSTILE_SITE_KEY }}
25
30
26
31
- name : Deploy
27
- uses : AdrianGonz97/refined-cf-pages-action@v1
32
+ uses : AdrianGonz97/refined-cf-pages-action@6f7dc14a750d860b899996c827c94925b798cb38 # v1.2.6
28
33
with :
29
34
githubToken : ${{ secrets.GH_TOKEN }}
30
35
apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments