"์•ˆ๋…• ๐Ÿ‘‹ Felicia"GitHub ์ž‘์—…

4203 ๋‹จ์–ด actionshackathongithubopensource
์šฐ๋ฆฌ ๋ชจ๋‘๋Š” ๋””์ง€ํ„ธ ๋จผ์ง€๋ฅผ ๋ชจ์œผ๋Š” ์ €์žฅ์†Œ๋ฅผ ๊ฐ€์ง€๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ๊ทธ๋“ค์€ ๋ช‡ ๋…„ ๋™์•ˆ ์—…๋ฐ์ดํŠธ๋˜์ง€ ์•Š์•˜์œผ๋ฉฐ ๋‹ค์‹œ๋Š” ๋งŒ์งˆ ๊ณ„ํš์ด ์—†์Šต๋‹ˆ๋‹ค. ์šฐ๋ฆฌ๊ฐ€ ๋” ์ด์ƒ ๋ณด์ง€ ์•Š๊ณ  ์‚ฌ๋ž‘์„ ๋ฐ›์ง€ ๋ชปํ•˜๋Š” ๋ ˆํฌ. GitHub๋Š” ๋ฆฌํฌ์ง€ํ† ๋ฆฌ ์ˆ˜๋ฅผ ์ œํ•œํ•˜์ง€ ์•Š์œผ๋ฏ€๋กœ ๋ฆฌํฌ์ง€ํ† ๋ฆฌ๋ฅผ ์ •๋ฆฌํ•  ์ธ์„ผํ‹ฐ๋ธŒ๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.

๋‹น์‹ ์€ ์•„๋งˆ ํ•ญ์ƒ ๋‹น์‹ ์˜ ์ €์žฅ์†Œ์— "Bye Felicia"๋ผ๊ณ  ๋งํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์›ํ–ˆ๊ณ  ๊ทธ๊ฒƒ์€ ์ž๋™์œผ๋กœ ์‚ญ์ œ๋  ๊ฒƒ์ž…๋‹ˆ๋‹ค. ๊ธ€์Ž„, ๊ทธ๊ฒƒ์ด ๋‚ด๊ฐ€ ๋งŒ๋“  ๊ฒƒ์ด๊ธฐ ๋•Œ๋ฌธ์— ๋‹น์‹ ์€ ์šด์ด ์ข‹์Šต๋‹ˆ๋‹ค. Bye Felicia GitHub Action์— ์ธ์‚ฌํ•˜์„ธ์š”.

์šฉ์–ด๊ฐ€ ์ƒ์†Œํ•œ ๋ถ„๋“ค์„ ์œ„ํ•ด ์—ฌ๊ธฐlink์—์„œ ์ž์„ธํžˆ ์•Œ์•„๋ณด์„ธ์š”.



๋‚ด ์›Œํฌํ”Œ๋กœ์šฐ



"Bye Felicia"๋Š” ๋ฆฌํฌ์ง€ํ† ๋ฆฌ๋ฅผ ์‰ฝ๊ฒŒ ์‚ญ์ œํ•  ์ˆ˜ ์žˆ๋„๋ก actions toolkit ํŒจํ‚ค์ง€์— ํ†ตํ•ฉ๋œ ์ตœ์‹  GitHub ์ž‘์—…์ž…๋‹ˆ๋‹ค.

์ œ์ถœ ์นดํ…Œ๊ณ ๋ฆฌ:


  • ์—‰๋šฑํ•œ ์™€์ผ๋“œ์นด๋“œ

  • Yaml ํŒŒ์ผ



    ์ด ์ž‘์—…์„ ์ €์žฅ์†Œ์— ์ถ”๊ฐ€ํ•˜๊ณ  ๋” ์ด์ƒ ์›ํ•˜์ง€ ์•Š์„ ๋•Œ๋งˆ๋‹ค ๋ฌธ์ œ ๋Œ“๊ธ€์— "Bye Felicia"๋ผ๊ณ  ๋งํ•˜๋ฉด ์‚ญ์ œ๋˜๊ณ  404๊ฐ€ ๋ฉ๋‹ˆ๋‹ค.

    ๋‹ค์Œ์€ ๋ฌธ์ œ ๋Œ“๊ธ€์— ์˜ํ•ด ํŠธ๋ฆฌ๊ฑฐ๋˜๋Š” ์˜ˆ์ž…๋‹ˆ๋‹ค.

    name: ๐Ÿ‘‹ Felicia
    
    on:
      issue_comment:
        types: [ created ]
    
    jobs:
        runs-on: ubuntu-latest
    
        steps:
        - uses: actions/checkout@v2
    
        - name: Run bye-felicia action
          uses: tonydiaz/bye-felicia-github-action@main
          with:
            github-secret: ${{ secrets.REPO_ACCESS_TOKEN }}
            github-repository: ${{ github.repository }}
    

    ์ฝ”๋“œ ๋งํฌ




    ํ† ๋‹ˆ๋””์•„์ฆˆ / ์•ˆ๋…•-felicia-github-action






    ๐Ÿ‘‹ Felicia GitHub ์ž‘์—…


    ๋ฆฌํฌ์ง€ํ† ๋ฆฌ๋ฅผ ์‚ญ์ œํ•  GitHub ์ž‘์—…์ž…๋‹ˆ๋‹ค.
    ์šฐ๋ฆฌ ๋ชจ๋‘๋Š” ๋จผ์ง€๋ฅผ ๋ชจ์œผ๋Š” ์ €์žฅ์†Œ๋ฅผ ๊ฐ€์ง€๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ๊ทธ๋“ค์€ ๋ช‡ ๋…„ ๋™์•ˆ ์—…๋ฐ์ดํŠธ๋˜์—ˆ์œผ๋ฉฐ ๋‹ค์‹œ๋Š” ๋งŒ์งˆ ๊ณ„ํš์ด ์—†์Šต๋‹ˆ๋‹ค. ์•„๋ฌด๋„ ๋ณด์ง€ ์•Š๋Š” ์ €์žฅ์†Œ, ์ž ์žฌ์ ์œผ๋กœ ํ˜„์žฌ ์‚ฌ์šฉ๋˜์ง€ ์•Š๋Š” ์†Œํ”„ํŠธ์›จ์–ด ๋ฒ„์ „ ์‚ฌ์šฉ. ์šฐ๋ฆฌ๊ฐ€ ์˜ค๋ž˜๋œ ๋ฆฌํฌ์ง€ํ† ๋ฆฌ๋ฅผ ์ •๋ฆฌํ•˜๋Š” ์ผ์„ ์ œ๋Œ€๋กœ ํ•˜์ง€ ์•Š๋Š”๋‹ค๋Š” ์‚ฌ์‹ค์„ ์ง์‹œํ•ฉ์‹œ๋‹ค. ๋ฆฌํฌ์ง€ํ† ๋ฆฌ ์ •๋ฆฌ๋Š” ์ด Github Action์ด ๋น›๋‚˜๋Š” ๊ณณ์ž…๋‹ˆ๋‹ค.
    ์ด ์ž‘์—…์„ ์ถ”๊ฐ€ํ•˜๋ฉด ๋ฌธ์ œ ๋Œ“๊ธ€์— Bye Felicia!๋ผ๊ณ  ๋งํ•˜๊ธฐ๋งŒ ํ•˜๋ฉด ์ €์žฅ์†Œ๊ฐ€ ๋” ์ด์ƒ ์กด์žฌํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

    ํ•„์ˆ˜์˜:


    REPO_ACCESS_TOKEN - ์ €์žฅ์†Œ๋ฅผ ์‚ญ์ œํ•  ์ˆ˜ ์žˆ๋Š” ๊ธฐ๋Šฅ์— ์•ก์„ธ์Šคํ•˜๋ ค๋ฉด personal access token์„ ์ƒ์„ฑํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ํ•ด๋‹น ํ† ํฐ์„ ์ €์žฅ์†Œ์— ๋น„๋ฐ€๋กœ ์ถ”๊ฐ€ํ•˜์‹ญ์‹œ์˜ค.

    ์‚ฌ์šฉ ์˜ˆ

    uses: tonydiaz/bye-felicia-github-action@main
    with:
      github-secret: ${{ secrets.REPO_ACCESS_TOKEN }}


    View on GitHub


    ์ž‘๋™ ์ค‘์ธ GitHub ์ž‘์—…



    ์ข‹์€ ์›นํŽ˜์ด์ง€ ์ฆ๊ฒจ์ฐพ๊ธฐ