æçµæ´æ°æ¥: 2024å¹´12æ09æ¥(æ)
1. ãæ¨æ¶
ããã«ã¡ã¯ã
ååã®ã社å
æè¡ããã¥ã¡ã³ãã¼ã·ã§ã³ãç§å¦ããããã10ã¶æã¶ãã®æ稿ã«ãªãã¾ãã@hayat01sh1da ã§ã(å®ã¯ã¨ã³ããªã¼ã¯ãã£ãã®ã§ãã没ã«ãªãã¾ãã¦...ã¢ã¦ãããã欲ã¯ãã¤ã§ãããã®ã§ã)ã
22年人çãå
±ã«ããæç«ãä»å¹´ã®4æã«äº¡ããããã°ããããªãå·å¿ãã¦ããã®ã§ãããä»ã¯ä½æ¥ãã¹ã¯ããåªããè¦å®ã£ã¦ãããã¤ã¤æ¯æ¥ãéããã¦ãã¾ãã
è¿ã æ°ããåããè¿ãããäºå®ã§ãããåçã®å½¼ã®ãã¨ã¯ä¸çå¿ããã«æã§ããã¨æãã¾ãã
2. ä»åã®ãããã¯
é話ä¼é¡ãçãã㯠Working out Loud ããã¦ãã¾ããï¼
ç§ã¯ãã¦ãã...ã¤ãããªã®ã§ãããæ°ãæãã¨ä½æ¥éå§å®£è¨ãã¤ãã¤ãå¿ãã¦ãã¾ãã¾ãã
ã§ãããéè¦æ§ã¯éã
ç解ãã¦ãã¾ã(å½é¨ç½²ããè¯ãè¨äºãåºã¦ãã¾ãã®ã§ããWorking Out Loud 大声ä½æ¥ï¼ããªããï¼ããã¼ã ã¡ã³ãã¼å士ã§ã®ãã¬ã¼ãã³ã°æåã®é¸æããæ¯éãéèªä¸ãã)ã
ããã°ã©ãã¯ã3ååããã¨ãç¹°ãè¿ãä½æ¥ã¯ä»çµã¿åããï¼ãã¨è¨ããã¾ãããããã¯ä½æ¥ã ãã§ãªã失æã«ãå½ã¦ã¯ã¾ããã¨ã§ããã
ãããã訳ã§ãåã失æã3åç¹°ãè¿ããã¨ãããã¨ã¯ä»çµã¿åãã絶好ã®å¥½æ©ã¨æããã¿ããªå¤§å¥½ã GitHub Actions(ä»¥ä¸ GHA) ã§ã¯ã¼ã¯ããã¼ãçµã¿ã¾ããã
ã¨ã£ã£ã£ã¦ãç°¡åãªã®ã§ãèªãã§ä¸ããçãããæ¯éãèªåãªãã®ã¢ã¬ã³ã¸ãå ãã¦æ´»ç¨ãã¦ã¿ã¦ä¸ããã
3. è¦ä»¶
ãæ°ãæãã¨å¿ãã¦ãã¾ããã¨å è¿°ãã¾ãããããã®çç±ã¯ä»¥ä¸ã®3ã¤ã®ä¸é£ã®ä½æ¥ã®é¢åããç§ã®æ½å¨æèã«ããã¾ããã
- PBI/SBI ã«èªåãã¢ãµã¤ã³ããã
- PBI/SBI ã® URL ãã³ãã¼ããã
- 2 ã§ã³ãã¼ãã URL ãè²¼ãä»ããã¨å ±ã«ãããã®ä½æ¥ãããã¾ãï¼ãã¨ä½æãæ稿ããã
ä¸è¨1-3ã®æé ã¯çæãã PBIs/SBIs ã®æ°ã ãããã¹ãããNååç¹°ãè¿ããªããã°ãªãã¾ããã
ãã¾ã¤ãããç§ã®ãã¼ã ã§ã¯ãä½æ¥ãå¤é¨è¦å ã§ææ¾ãæã宣è¨ããããã¨ãã Working Agreement ãããã¾ãã®ã§ãããã«ä»¥ä¸ã®3ã¤ã®ä¸é£ã®ä½æ¥ãå ããã¾ãã
- PBI/SBI ã® Assingees ããèªåãå¤ãã
- PBI/SBI ã® URL ãã³ãã¼ããã
- 2 ã§ã³ãã¼ãã URL ãè²¼ãä»ããã¨å ±ã«ãããã®ä½æ¥ãæ念ãã¾ãï¼ãã¨ä½æãæ稿ããã
ä¸è¨1-3ã®æé ãææ¾ãã PBIs/SBIs ã®æ°ã ãããã¹ãããNååç¹°ãè¿ããªããã°ãªãã¾ããã
塵ãç©ããã°å±±ã¨ãªããç¸å½ãªå´åã¨æéãå°å³ã§ã¯ããã¾ããè²»ãããã¨ã«ãªãã¾ãã
åã失æã3åç¹°ãè¿ããä»ãããä¸è¿°ã®é¢åã§åé·ãªä½æ¥ãã解æ¾ãããã¹ããä»çµã¿åããããã®å
¨åãè²»ããæã§ãï¼
Be hardworking to be lazy!
4. ä»æ§
ç§ã«ã¯ School Career ãã¼ã
ã¨ããæå±å
ãããã¾ãã®ã§ãSchool Career Work Initiation
ã¨ããã©ãã«ã1ã¤ä½ããIssue ä¸ã§ã®å½è©²ã©ãã«ã®è±çã«ãã£ã¦ GHA ã®ä»¥ä¸ã®ããããã®ã¯ã¼ã¯ããã¼ãçºç«ããã¾ãã
Issue ã® Assignees ã®å¶å¾¡ã«ã¯ auto-assign-issue ãSlack éç¥ã«ã¯ slack-github-action (ãã¡ã㯠Slack å ¬å¼) ã® Third-party Libraries ãæ´»ç¨ããã¦é ãã¾ããã
4-1. School Career Work Initiation
ã©ãã«ä»ä¸æ
- GHA ã® Actor (çºç«ããã人)ã Issue ã® Assignees ã«å ããã
- Payload ã®ãã³ãã¬ã¼ãã«åãè¾¼ãã å¤æ°ãå±éããSlack ã®æå®ãã£ã³ãã«ã«ã¡ãã»ã¼ã¸ãéç¥ããã
.github/workflows/school-career-work-initiation.yml
name: School Career Work Initiation on: issues: types: - labeled # `School Career Work Initiation` ã©ãã«ä»ä¸æã«çºç« jobs: notify: if: github.event.label.name == 'School Career Work Initiation' runs-on: ubuntu-latest timeout-minutes: 5 steps: - name: Auto-assign The Actor uses: pozil/auto-assign-issue@v2 with: assignees: ${{ github.actor }} # GitHub Actions ã® Actor (çºç«ããã人) ã Assignees ã«å ¥ãã - name: Slack Notification uses: slackapi/slack-github-action@v1 env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_APP_TOKEN }} with: channel-id: ${{ éç¥å channel-id }} payload: | # ãã® Payload ã¯ã好ããªããã«ï¼ { "blocks": [ { "type": "header", "text": { "type": "plain_text", "text": "ä½æ¥éå§å®£è¨" } }, { "type": "section", "text": { "type": "mrkdwn", "text": "From: @${{ github.actor }}" } }, { "type": "section", "text": { "type": "mrkdwn", "text": "To: @school-career-devs @school-career-tpms" } }, { "type": "section", "text": { "type": "mrkdwn", "text": "PBI/SBI: <${{ github.event.issue.html_url }}|${{ github.event.issue.title }}>" } }, { "type": "section", "text": { "type": "mrkdwn", "text": "Message: ä½æ¥ã«çæãã¾ãï¼" } } ] }
4-2. School Career Work Initiation
ã©ãã«é¤å»æ
- GHA ã® Actor (çºç«ããã人)ã Issue ã® Assignees ããå¤ãã
- Payload ã®ãã³ãã¬ã¼ãã«åãè¾¼ãã å¤æ°ãå±éããSlack ã®æå®ãã£ã³ãã«ã«ã¡ãã»ã¼ã¸ãéç¥ããã
.github/workflows/school-career-work-abortion.yml
name: School Career Work Abortion on: issues: types: - unlabeled # `School Career Work Initiation` ã©ãã«é¤å»æã«çºç« jobs: notify: if: github.event.label.name == 'School Career Work Initiation' runs-on: ubuntu-latest timeout-minutes: 5 steps: - name: Auto-unassign The Actor uses: pozil/auto-assign-issue@v2 with: assignees: n/a # Assignees ã空ã«ãã(ããã¯ä»ã« Assinees ãããå ´å空ã«ãªãã¨ã¾ããã®ã§è¦æ¹è¯) allowNoAssignees: true removePreviousAssignees: true - name: Slack Notification uses: slackapi/slack-github-action@v1 env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_APP_TOKEN }} with: channel-id: ${{ éç¥å channel-id }} payload: | # ãã® Payload ã¯ã好ããªããã«ï¼ { "blocks": [ { "type": "header", "text": { "type": "plain_text", "text": "ä½æ¥æ念宣è¨" } }, { "type": "section", "text": { "type": "mrkdwn", "text": "From: @${{ github.actor }}" } }, { "type": "section", "text": { "type": "mrkdwn", "text": "To: @school-career-devs @school-career-tpms" } }, { "type": "section", "text": { "type": "mrkdwn", "text": "PBI/SBI: <${{ github.event.issue.html_url }}|${{ github.event.issue.title }}>" } }, { "type": "section", "text": { "type": "mrkdwn", "text": "Message: ä½æ¥ãæ念ãã¾ã :pray:" } } ] }
5. çµæ
School Career Work Initiation
ã®è±çã§ä»¥ä¸ã®æåãå®ç¾åºæ¥ã¾ããã
- åæç¶æ ã¨ã㦠Labels ã Assignees ã空ã§ããã
- ã©ãã«ãä»ä¸ããGHA ãçºç«ãã¦ãããã¼ã¸ããªãã¼ããã㨠Assignees ã«èªåãå ¥ã£ã¦ããã
- ã©ãã«ãé¤å»ããGHA ãçºç«ãã¦ãããã¼ã¸ããªãã¼ããã㨠Assignees ããèªåãå¤ãã¦ããã
- Slack ã«ãéç¥ãé£ãã§ããã
.github/workflows/school-career-work-abortion.yml > Auto-unassign The Actor > with > assignees
㯠n/a
ã§ã¯ãªããæ¢åã® Assignees ãåå¾ãã¦ãã®ä¸ãã ${{ github.actor }}
ãé¤å»ãã¦å·®éåãæ±ããå¿
è¦ãããã¾ããã
ç§ã®ãã¼ã ã§ã¯è¤æ°äººã1ã¤ã®ãã±ããã«ã¢ãµã¤ã³ãããã®ã¯ã¬ã¢ã±ã¼ã¹ãªã®ã§ãä¿®æ£ã¯ãã£ããè¡ãããã¨æãã¾ãã
次åã¯ããããã°ã©ããç¥ãã¹ã97ã®ãã¨ãããå¾ã7ã¤ã®éç§çæ¡ããæ稿ãã¾ãã
ããã§ã¯ãçãããè¯ã Working out Loud ã©ã¤ããï¼