간편한 GiitHub Actions 워크플로우 패치를 바로 가기 키로 적용
6341 단어 iOSGitHub ActionsiPadOStech
있죠.
Workflow ID
Workflow ID가 필요하므로 참조Actions - GitHub Docs로 얻습니다.
❯ curl \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/KoheiKanagu/KoheiKanagu/actions/workflows
{
"total_count": 2,
"workflows": [
{
"id": 10719756,
"node_id": "MDg6V29ya2Zsb3cxMDcxOTc1Ng==",
"name": "GitHub-Profile-3D-Contrib",
"path": ".github/workflows/profile-3d.yml",
"state": "active",
"created_at": "2021-06-24T07:47:01.000Z",
"updated_at": "2021-06-24T07:47:01.000Z",
"url": "https://api.github.com/repos/KoheiKanagu/KoheiKanagu/actions/workflows/10719756",
"html_url": "https://github.com/KoheiKanagu/KoheiKanagu/blob/master/.github/workflows/profile-3d.yml",
"badge_url": "https://github.com/KoheiKanagu/KoheiKanagu/workflows/GitHub-Profile-3D-Contrib/badge.svg"
},
{
"id": 2478894,
"node_id": "MDg6V29ya2Zsb3cyNDc4ODk0",
"name": "GitHub-Profile-Summary-Cards",
"path": ".github/workflows/profile-summray-cards.yml",
"state": "active",
"created_at": "2020-09-08T02:46:13.000Z",
"updated_at": "2020-09-08T02:46:13.000Z",
"url": "https://api.github.com/repos/KoheiKanagu/KoheiKanagu/actions/workflows/2478894",
"html_url": "https://github.com/KoheiKanagu/KoheiKanagu/blob/master/.github/workflows/profile-summray-cards.yml",
"badge_url": "https://github.com/KoheiKanagu/KoheiKanagu/workflows/GitHub-Profile-Summary-Cards/badge.svg"
}
]
}
또는 GiitHub CLI 를 사용할 수도 있습니다.개인 창고라면curl은 인증 영패 같은 게 필요하기 때문에 간단합니다.
❯ gh workflow list
GitHub-Profile-3D-Contrib active 10719756
GitHub-Profile-Summary-Cards active 2478894
일단 실행하다
처음 집행할 때는 허가가 필요하다.
뛰어다니다
총결산
마지막으로 REST API만 치면 되지만 단축키부터 실행할 수 있기 때문에 아이폰, 아이패드가 있으면 어디서든 편지를 받을 수 있다.
그나저나 "헤이 시리, 앱을 만들자"는 꿈도 커진다.
Reference
이 문제에 관하여(간편한 GiitHub Actions 워크플로우 패치를 바로 가기 키로 적용), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://zenn.dev/kingu/articles/9516444e5f83fc텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)