From ca2d4a472412db3812bb96239187d58297e52023 Mon Sep 17 00:00:00 2001 From: Tung Leo Date: Sat, 4 May 2024 08:00:54 +0700 Subject: [PATCH] ci: Use GITHUB_TOKEN instead of PAT in generate_content.yaml (#30) --- .github/workflows/generate_content.yaml | 5 +++- assets/gh-token-in-repo.png | Bin 0 -> 28609 bytes create-repo-landscape.md | 36 ++++++------------------ 3 files changed, 12 insertions(+), 29 deletions(-) create mode 100755 assets/gh-token-in-repo.png diff --git a/.github/workflows/generate_content.yaml b/.github/workflows/generate_content.yaml index debd7b6..2657b39 100644 --- a/.github/workflows/generate_content.yaml +++ b/.github/workflows/generate_content.yaml @@ -29,7 +29,10 @@ jobs: id: cpr uses: peter-evans/create-pull-request@v6 with: - token: ${{ secrets.PAT }} + # Goto: Repo > Setting > Action > General > Workflow permission, enable following options: + # Read and write permissions + # Allow GitHub Actions to create and approve pull requests + token: ${{ secrets.GITHUB_TOKEN }} commit-message: 'Update table of content' committer: 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>' author: '${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>' diff --git a/assets/gh-token-in-repo.png b/assets/gh-token-in-repo.png new file mode 100755 index 0000000000000000000000000000000000000000..23a143cd6c24a20c618e748274b3b58289fee854 GIT binary patch literal 28609 zcmd43cTiJN_cn?GBBG+8q9R18Dov0gAXOAX7nEu!(xe2WgwPT|R79jBNC~}4Z=nZJ zB%l<5P(wgzfzYHRfdrB-`o6#UX72sx-kCf1-ZPWQ&N(|LXRo#PUeA8kT8T0?)IM|S z>M15BrZYetEfXdt<^(3DWAZ0YFwX2hxzx#cJLYSmt;tk5cx{#OfyG6`K!b^?CXVCK zo|W;L{iTkjFB8+*uYX_1&|W2uOiW&8KrM|Y0X7@$un#s9fs@Ul(;VXQYX0Ge#Z0$P zUK}XDE`G6k?HJ1^mSaicx|$D#HNUw%k95Smeo+_K43FJKU_97x+lFE% z{DjS)4GZgSzQ45LWMN@HRbpBsQ{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q!&Pp5IyP4r8_M((F5AJonD2ZD@{ubMukOOkwjf?%j(=o9axc!b&p{@IcS zt;A)zjo5q5pI?S_w+J`*R5B$pZhYx4?&gYuhNN2I**O{XROkypfR~7882bGNd1F(I#`M!^~lNg5jqJoL5!zp-TzHRh+AT74M;~ zOD~zkERC4SERiGCg28FX`5nN3J&tv=58>4{(+?H)Ny-oU)@IU0>_moo-%QE+P3E`r%yxBHtaiWewzN`Q~TL8A!o?}MN0niF02 zp$mG4x4k5q>vm-(atP&THo$+O6k0i-e7)J3<9UVFVSs7aR)ck(lg2|tN0va&SjO9| zwY_yj-H_+6YWR(NxZEH_4vHb*FkE>YU~&KG zC|b_(X#H2|$bXvsqxKxGLyLC!N8NMbXXk+G8R*&37U=o1_@C%gzahWuYAmjH#2@9b zwFjz;lLzNsz+E}ZIT9dGpd`Fmw%=>+MWD=hc8HnjdH2ixy5q;Ug8xpyYmn#3;Cp~j zGzXY{Ki(ED=PXUDCP3@OfLi*V{EA2N2)J1=Mm^fIPb?=14ZM>_yv0G~gGPWPkh zsl@G%;2MZaO1q|qqgYz#SC{j>3 ziuK074hfg90t%7;T~nbZAjUD38M*y68R=xgh$GU{#0(ZLn2(6#AW8qDJ2&aj%C!xs zROq-2an;IoE)mp49{FrUEI?R8t`L_=%P5RW7V>g zl{R4vI(=?^q@!?CKUTFBz(#oeV>;R;@nMMByK5O zTTHbVEd<`(&Pl9k4XLr*PTLD7`ay~QIN^2sKxyD^c84BV30 zMvYoo?rxrNq`X8YtnNKOm8n+w;TW>yxB8^4{{&w}nNOM&ha(%(QiP zz{)ivd+Fb)k$(&wkhfd#$65d5f$ufMzyJH~6sae`6NmpxO*aBKsPw%R<~dRHF6fuW z{u`?`|M%@}zFmOiYBiOA=PPXmv*RMgz5kw{tvDEICO%nU0oYk5p;Lf$q|;6sXA{;Z znx%U(Ny+I^lyq52z7;Kk~nP dzg$Y!9{b31WQ9Ug -In short we only need to do 4 major steps: `Create new repo from template` > `Set up PAT` > `Update repository list` > `Merge the automated PR`. +In short we only need to do 4 major steps: `Create new repo from template` > `Set up GITHUB_TOKEN` > `Update repository list` > `Merge the automated PR`.
Let's dive into the detailed as below: @@ -70,36 +70,16 @@ Let's dive into the detailed as below: - Wait for a few seconds, and your repository will be created. -### 2. Configure Personal Access Token (PAT) for the new repo +### 2. Configure `GITHUB_TOKEN` for the new repo -There is a CI workflow to automatically generate content and open a new Pull Request for your repository landscape, so setting up a PAT is required. - -#### 2.1. Generate the token - -- Click on your profile in the top right corner > `Settings` > `Developer settings`, or visit: [https://github.com/settings/tokens](https://github.com/settings/tokens). -- Select `Generate new token`. - - ![pat-generate](./assets/pat-generate.png) - -- Set the expiration date (my personal choice is 90 days; you can set it to whatever you want). -- Select only the `repo` scope for better security. - - ![pat-setup](./assets/pat-setup.png) - -- Then click `Generate token`. -- Finally, copy or note the newly created token somewhere for later use. - -#### 2.2. Create the PAT token variable - -- Go to `Settings` > `Secrets and variables` > `Actions` -- Visit: https://github.com///settings/secrets/actions -- In the `New repository secrets` section, input the PAT as the name and the token. - - ![secret-action-create](./assets/secret-action-create.png) +There is a CI workflow to automatically generate content and open a new Pull Request for your repository landscape, so setting up `GITHUB_TOKEN` permission is required. +
+Goto: https://github.com/YOUR_USERNAME/YOUR_REPO/settings/actions (Repo > Setting > Action > General), in the `Workflow permission` section, enable following options: -- Once completed, you will see a result similar to this: +- Read and write permissions +- Allow GitHub Actions to create and approve pull requests - ![secret-completed](./assets/secret-completed.png) + ![gh-token-in-repo](./assets/gh-token-in-repo.png) Now we are ready to trigger the CI workflow to update the repo landscape.