From c96960955ba7e3b31734a85b288613207e3d89a1 Mon Sep 17 00:00:00 2001 From: Nikhil <118773738+pablohashescobar@users.noreply.github.com> Date: Mon, 2 Oct 2023 14:31:25 +0530 Subject: [PATCH 1/4] fix: variable name for token (#2336) --- .github/workflows/create-sync-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-sync-pr.yml b/.github/workflows/create-sync-pr.yml index 45cae3aefb3..987984d0002 100644 --- a/.github/workflows/create-sync-pr.yml +++ b/.github/workflows/create-sync-pr.yml @@ -32,7 +32,7 @@ jobs: - name: Create Pull Request env: - GH_TOKEN: ${{ secrets.TOKEN }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | TARGET_REPO="makeplane/${{ secrets.REPO_NAME }}" TARGET_BRANCH="${{ secrets.REPO_TARGET_BRANCH }}" From de33e6775f8fac8c14251ef9f7ca2f46cf8ff43c Mon Sep 17 00:00:00 2001 From: Nikhil <118773738+pablohashescobar@users.noreply.github.com> Date: Mon, 2 Oct 2023 14:40:31 +0530 Subject: [PATCH 2/4] dev: update add permissions to the action (#2337) --- .github/workflows/create-sync-pr.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/create-sync-pr.yml b/.github/workflows/create-sync-pr.yml index 987984d0002..caa872d2f5c 100644 --- a/.github/workflows/create-sync-pr.yml +++ b/.github/workflows/create-sync-pr.yml @@ -10,6 +10,9 @@ jobs: # Only run the job when a PR is merged if: github.event.pull_request.merged == true runs-on: ubuntu-latest + permissions: + pull-requests: write + contents: read steps: - name: Checkout Code uses: actions/checkout@v2 From 6d463ded1c874cc4a2117191bf58717278183715 Mon Sep 17 00:00:00 2001 From: Nikhil <118773738+pablohashescobar@users.noreply.github.com> Date: Mon, 2 Oct 2023 14:50:30 +0530 Subject: [PATCH 3/4] dev: rename token variables (#2338) --- .github/workflows/create-sync-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-sync-pr.yml b/.github/workflows/create-sync-pr.yml index caa872d2f5c..9959962635b 100644 --- a/.github/workflows/create-sync-pr.yml +++ b/.github/workflows/create-sync-pr.yml @@ -35,7 +35,7 @@ jobs: - name: Create Pull Request env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.TOKEN }} run: | TARGET_REPO="makeplane/${{ secrets.REPO_NAME }}" TARGET_BRANCH="${{ secrets.REPO_TARGET_BRANCH }}" From 0d0cf3052a4c2ed9fb63b7d53b864b9440acf763 Mon Sep 17 00:00:00 2001 From: sriram veeraghanta Date: Mon, 2 Oct 2023 16:13:27 +0530 Subject: [PATCH 4/4] fix: updated readme fixes (#2339) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3cbeed8c4bc..f9d969d72c9 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ chmod +x setup.sh - Run setup.sh ```bash -./setup.sh http://localhost +./setup.sh ``` > If running in a cloud env replace localhost with public facing IP address of the VM