Skip to content

로티(Lottie) 애니메이션 적용으로 게임 UX 개선 #70

로티(Lottie) 애니메이션 적용으로 게임 UX 개선

로티(Lottie) 애니메이션 적용으로 게임 UX 개선 #70

name: Apply Issue Template
on:
issues:
types: [opened]
jobs:
apply-template:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const fs = require('fs');
const issue = context.payload.issue;
const fullTemplate = fs.readFileSync('.github/ISSUE_TEMPLATE/feature-template.md', 'utf8');
const templateContent = fullTemplate.split('---').slice(2).join('---').trim();
await github.rest.issues.update({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issue.number,
body: templateContent
});