Skip to content

Weekly Team Sync

Weekly Team Sync #8

---
name: Weekly Team Sync
on:
schedule:
- cron: "*/5 * * * *"
jobs:
create_issue:
name: Create team sync issue
runs-on: ubuntu-latest
permissions:
issues: write
contents: write
pull-requests: write
repository-projects: write
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Create team sync issue
run: |
new_issue_url=$(gh issue create \
-t "$TITLE" \
-a "$ASSIGNEES" \
-l "$LABELS" \
-b "$BODY")
if [[ $PINNED == true ]]; then
gh issue pin "$new_issue_url"
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
TITLE: Daily Scrum (${{ steps.date.outputs.date }})
ASSIGNEES: su-giana
LABELS: daily-scrum
BODY: |
# 스크럼 🏉 / Wrap-up 🌯 중 택 1
스크럼 템플릿
1. 어제 한 일 🌙
-
2. 오늘 할 일 🔥
-
3. 공유할 이슈 🙌
-
PINNED: false
CLOSE_PREVIOUS: false