From d5f98526dfdc5f3ed443442aa0c1e8dc208e442b Mon Sep 17 00:00:00 2001 From: falconlee236 Date: Wed, 6 Nov 2024 17:11:21 +0900 Subject: [PATCH 01/12] Update Jenkinsfile : change git clone target --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 75784d8..865a658 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,7 @@ pipeline { stage('github_clone') { steps { - git branch: 'dev/ci-cd', credentialsId: 'github_token', url: 'https://github.com/falconlee236/PuangFilm-FE-local' + git branch: 'main', credentialsId: 'github_token', url: 'https://github.com/GDSC-CAU/PuangFilm-FE' } } From d2740f57c25459670b7246446d1f82c8a3cb24cb Mon Sep 17 00:00:00 2001 From: falconlee236 Date: Wed, 6 Nov 2024 17:15:40 +0900 Subject: [PATCH 02/12] Update customCI.yaml : add write permission --- .github/workflows/customCI.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/customCI.yaml b/.github/workflows/customCI.yaml index 90fb5a5..a09b8fc 100644 --- a/.github/workflows/customCI.yaml +++ b/.github/workflows/customCI.yaml @@ -11,6 +11,7 @@ on: jobs: build: + permissions: write-all runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 From e0128acda4321034fa4a7bbedb2af578473120b1 Mon Sep 17 00:00:00 2001 From: falconlee236 Date: Wed, 6 Nov 2024 17:21:08 +0900 Subject: [PATCH 03/12] Update customCI.yaml : add create issue option false --- .github/workflows/customCI.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/customCI.yaml b/.github/workflows/customCI.yaml index a09b8fc..339231f 100644 --- a/.github/workflows/customCI.yaml +++ b/.github/workflows/customCI.yaml @@ -41,6 +41,7 @@ jobs: uses: transferwise/actions-next-bundle-analyzer@v2 with: comment-strategy: 'always' + create-issue: false - name: Delete merged branch uses: SvanBoxel/delete-merged-branch@1.4.3 with: From e8a8feb40d5cd00269765327610cd65bba3fb9ee Mon Sep 17 00:00:00 2001 From: falconlee236 Date: Wed, 6 Nov 2024 17:25:30 +0900 Subject: [PATCH 04/12] Update customCI.yaml : change permission actions write --- .github/workflows/customCI.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/customCI.yaml b/.github/workflows/customCI.yaml index 339231f..8fdfcb9 100644 --- a/.github/workflows/customCI.yaml +++ b/.github/workflows/customCI.yaml @@ -11,7 +11,8 @@ on: jobs: build: - permissions: write-all + permissions: + actions: write runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 From 67f82e0fab2f3067d8ab7432fbcaf85377bfec5d Mon Sep 17 00:00:00 2001 From: falconlee236 Date: Wed, 6 Nov 2024 17:30:50 +0900 Subject: [PATCH 05/12] Update customCI.yaml : change permission deployment actions write --- .github/workflows/customCI.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/customCI.yaml b/.github/workflows/customCI.yaml index 8fdfcb9..1e49b33 100644 --- a/.github/workflows/customCI.yaml +++ b/.github/workflows/customCI.yaml @@ -9,10 +9,12 @@ on: pull_request: branches: ['main'] +permissions: + actions: write + deployments: write + jobs: build: - permissions: - actions: write runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 From 663d7e6573ca18b63a6d59c92170e21f5ca33406 Mon Sep 17 00:00:00 2001 From: falconlee236 Date: Wed, 6 Nov 2024 17:34:06 +0900 Subject: [PATCH 06/12] Update customCI.yaml : change permission actions write string --- .github/workflows/customCI.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/customCI.yaml b/.github/workflows/customCI.yaml index 1e49b33..1297e40 100644 --- a/.github/workflows/customCI.yaml +++ b/.github/workflows/customCI.yaml @@ -10,8 +10,7 @@ on: branches: ['main'] permissions: - actions: write - deployments: write + actions: "write" jobs: build: From 34660dff92b7479e6b32443f79afc3ca442edd8d Mon Sep 17 00:00:00 2001 From: falconlee236 Date: Wed, 6 Nov 2024 17:38:23 +0900 Subject: [PATCH 07/12] Update customCI.yaml : change permission actions write --- .github/workflows/customCI.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/customCI.yaml b/.github/workflows/customCI.yaml index 1297e40..e5d2661 100644 --- a/.github/workflows/customCI.yaml +++ b/.github/workflows/customCI.yaml @@ -9,8 +9,7 @@ on: pull_request: branches: ['main'] -permissions: - actions: "write" +permissions: write-all jobs: build: From 14a540188d36fcc5dfbb0f187465ab97ef0a7365 Mon Sep 17 00:00:00 2001 From: falconlee236 Date: Wed, 6 Nov 2024 17:40:08 +0900 Subject: [PATCH 08/12] Update customCI.yaml : change permission actions write --- .github/workflows/customCI.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/customCI.yaml b/.github/workflows/customCI.yaml index e5d2661..731a8fe 100644 --- a/.github/workflows/customCI.yaml +++ b/.github/workflows/customCI.yaml @@ -9,7 +9,7 @@ on: pull_request: branches: ['main'] -permissions: write-all +permissions: read-all jobs: build: From a1a409b00af736439f6b3a062d5d507b5fbfd03d Mon Sep 17 00:00:00 2001 From: falconlee236 Date: Wed, 6 Nov 2024 17:51:35 +0900 Subject: [PATCH 09/12] Update customCI.yaml : change permission actions write --- .github/workflows/customCI.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/customCI.yaml b/.github/workflows/customCI.yaml index 731a8fe..92ace9a 100644 --- a/.github/workflows/customCI.yaml +++ b/.github/workflows/customCI.yaml @@ -2,6 +2,7 @@ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs name: CI +permissions: write-all on: push: @@ -9,8 +10,6 @@ on: pull_request: branches: ['main'] -permissions: read-all - jobs: build: runs-on: ubuntu-latest From 794f8b4982bd19feae9ef4f6a487bed187a5765e Mon Sep 17 00:00:00 2001 From: falconlee236 Date: Wed, 6 Nov 2024 18:09:48 +0900 Subject: [PATCH 10/12] Update customCI.yaml : change permission actions write --- .github/workflows/customCI.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/customCI.yaml b/.github/workflows/customCI.yaml index 92ace9a..339231f 100644 --- a/.github/workflows/customCI.yaml +++ b/.github/workflows/customCI.yaml @@ -2,7 +2,6 @@ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs name: CI -permissions: write-all on: push: @@ -12,6 +11,7 @@ on: jobs: build: + permissions: write-all runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 From c66a18868bcb4c4558bcb196da21f5b5e1f1904f Mon Sep 17 00:00:00 2001 From: falconlee236 Date: Wed, 6 Nov 2024 18:18:33 +0900 Subject: [PATCH 11/12] Update customCI.yaml : change permission actions write --- .github/workflows/customCI.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/customCI.yaml b/.github/workflows/customCI.yaml index 339231f..75fb404 100644 --- a/.github/workflows/customCI.yaml +++ b/.github/workflows/customCI.yaml @@ -6,12 +6,11 @@ name: CI on: push: branches: ['main'] - pull_request: + pull_request_target: branches: ['main'] jobs: build: - permissions: write-all runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 From 6723d20ba77318ab2072ffb726106326787faa2b Mon Sep 17 00:00:00 2001 From: falconlee236 Date: Wed, 6 Nov 2024 18:19:22 +0900 Subject: [PATCH 12/12] Update customCI.yaml : change permission actions write --- .github/workflows/customCI.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/customCI.yaml b/.github/workflows/customCI.yaml index 75fb404..2ce330c 100644 --- a/.github/workflows/customCI.yaml +++ b/.github/workflows/customCI.yaml @@ -11,6 +11,7 @@ on: jobs: build: + permissions: write-all runs-on: ubuntu-latest steps: - uses: actions/checkout@v4