File tree 4 files changed +9
-5
lines changed
4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : PR Merged
2
2
3
3
on :
4
- pull_request :
4
+ pull_request_target :
5
5
types : [closed]
6
6
branches :
7
7
- next
21
21
steps :
22
22
- name : Checkout code
23
23
uses : actions/checkout@v4
24
+ with :
25
+ ref : " ${{ github.event.pull_request.merge_commit_sha }}"
24
26
25
27
- name : Install pnpm
26
28
uses : pnpm/action-setup@v4
Original file line number Diff line number Diff line change 1
1
name : PR Updated
2
2
3
3
on :
4
- pull_request :
4
+ pull_request_target :
5
5
branches :
6
6
- next
7
7
21
21
steps :
22
22
- name : Checkout code
23
23
uses : actions/checkout@v4
24
+ with :
25
+ ref : " ${{ github.event.pull_request.head.sha }}"
24
26
25
27
- name : Install pnpm
26
28
uses : pnpm/action-setup@v4
Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ export function CodeContainer({ code }: { code: HighlightedCode }) {
35
35
} }
36
36
handlers = { [ focus ] }
37
37
/>
38
- < div className = "p-2 mt-auto font-light text-center" >
38
+ < div className = "p-2 mt-auto font-light text-center text-white " >
39
39
You can also change the focus annotations on a rendered codeblock:
40
40
</ div >
41
- < div className = "flex justify-center gap-2 pb-4" >
41
+ < div className = "flex justify-center gap-2 pb-4 text-white " >
42
42
< button
43
43
onClick = { ( ) => setFocused ( "lorem" ) }
44
44
disabled = { focused === "lorem" }
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export default function Page() {
16
16
17
17
function HoverContainer ( props : { children : React . ReactNode } ) {
18
18
return (
19
- < div className = "bg-zinc-900/80 px-2 rounded hover-container" >
19
+ < div className = "bg-zinc-900/80 px-2 rounded hover-container text-white " >
20
20
{ props . children }
21
21
</ div >
22
22
)
You can’t perform that action at this time.
0 commit comments