Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test : circleci, hkusu workflow test #24

Merged
merged 3 commits into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

## What

## Why

## How

## ScreenShot
44 changes: 44 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# labeler "full" schema

# enable labeler on issues, prs, or both.
enable:
issues: false
prs: true
# comments object allows you to specify a different message for issues and prs

comments:
issues: |
Thanks for opening this issue!
I have applied any labels matching special text in your title and description.

Please review the labels and make any necessary changes.

# Labels is an object where:
# - keys are labels
# - values are objects of { include: [ pattern ], exclude: [ pattern ] }
# - pattern must be a valid regex, and is applied globally to
# title + description of issues and/or prs (see enabled config above)
# - 'include' patterns will associate a label if any of these patterns match
# - 'exclude' patterns will ignore this label if any of these patterns match
labels:
":fix: fix":
include:
- '\bfix\b'
":star2: refactor":
include:
- '\brefactor\b:'
":blue_book: documentation":
include:
- '\bdocs\b:'
":broom: chore":
include:
- '\bchore\b:'
":framed_picture: feat":
include:
- '\bfeat\b:'
":test_tube: test":
include:
- '\btest\b:'
":toolbox: ci":
include:
- '\bci\b:'
File renamed without changes.
14 changes: 14 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Auto Labeler
on:
pull_request_target:
types: [opened]

jobs:
labeler:
runs-on: ubuntu-latest
steps:
- name: Check Labels
id: labeler
uses: jimschubert/labeler-action@v2
with:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
14 changes: 11 additions & 3 deletions assets/Logo.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
import Image from "next/image";
import React from "react";
import React, { ImgHTMLAttributes } from "react";

const Logo = () => {
return <Image src="/assets/logo.png" width={100} height={28} alt="logo" />;
const Logo = ({ ...props }: ImgHTMLAttributes<HTMLImageElement>) => {
return (
<Image
{...props}
src="/assets/logo.png"
width={100}
height={28}
alt="logo"
/>
);
};

export default Logo;
5 changes: 3 additions & 2 deletions assets/SearchIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import React from "react";
import React, { SVGProps } from "react";

const SearchIcon = () => {
const SearchIcon = ({ ...props }: SVGProps<SVGSVGElement>) => {
return (
<svg
{...props}
width="16"
height="16"
viewBox="0 0 1664 1664"
Expand Down
8 changes: 2 additions & 6 deletions components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ const Header = () => {
return (
<div className={styles.container}>
<ul className={styles.navigationList}>
<i className={styles.logo}>
<Logo />
</i>
<Logo className={styles.logo} />
{navigationList.map((nav) => (
<Link
key={nav.item}
Expand All @@ -44,9 +42,7 @@ const Header = () => {
placeholder="검색어를 입력하세요..."
className={styles.searchInput}
/>
<i className={styles.searchButton}>
<SearchIcon />
</i>
<SearchIcon className={styles.searchButton} />
</form>
</div>
);
Expand Down