Skip to content

Commit 43dfb5a

Browse files
committed
chore: Update README
1 parent ad04f5a commit 43dfb5a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Diff for: README.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ To synchronize your Protocol Land repository with GitHub, you'll need to configu
2424

2525
- Navigate to your GitHub repository's **Settings > Secrets and variables > Actions > New Repository Secret**.
2626
- **(Optional)** For syncing private repositories, add a new secret named **`WALLET`** with your Arweave wallet's JWK as the value.
27-
- Add another secret named **`PL_REPO_ID`** with your Protocol Land Repository ID as the value. Your Protocol Land Repo ID can be found in the repository's URL, e.g., **`6ace6247-d267-463d-b5bd-7e50d98c3693`**.
27+
- Add a new secret named **`PL_REPO_ID`** with your Protocol Land Repository ID as the value. Your Protocol Land Repo ID can be found in the repository's URL, e.g., **`6ace6247-d267-463d-b5bd-7e50d98c3693`**.
28+
- You'll also need a Personal Access Token (PAT) with the appropriate permissions to sync from Protocol Land to GitHub. To create PAT, goto [Fine-grained tokens](https://github.com/settings/tokens?type=beta) to create a PAT. Set a token name, expiration, repository access `(All repositories or Only select repositories (Recommended))` and permissions `(Repository permissions -> Contents -> Read and write, Repository permissions -> Workflows -> Read and write)`. Finally, add a new secret named **`WORKFLOW_TOKEN`** with your PAT created as the value.
2829

2930
3. **Setting Up the GitHub Workflow**:
3031

@@ -77,11 +78,7 @@ Goto repository settings on Protocol Land. Then configure the following:
7778
- **Repository**: Write your Github repository name with username. For example, `labscommunity/protocol-land`.
7879
- **Branch**: Select the branch that contains the GitHub workflow file.
7980
- **Workflow name**: Write your workflow file name. For example, `protocol-land-github-sync.yml`.
80-
- **Personal Access Token (PAT)**: You'll also need a Personal Access Token (PAT) from GitHub with the appropriate permissions to trigger the GitHub workflow. This PAT is securely stored and encrypted with your wallet. To create PAT, goto [Fine-grained tokens](https://github.com/settings/tokens?type=beta) to create a PAT. Set a token name, expiration, repository access `(All repositories or Only select repositories)` and permissions `(Repository permissions -> Actions -> Read and write)`.
81-
82-
> [!NOTE]
83-
>
84-
> If you get this similar error: ![image](https://github.com/pawanpaudel93/protocol-land-sync-github/assets/11836100/4429b957-71a5-4b50-815a-2e56ecaeef2a) in the workflow run, you need to create a new Personal Access Token (PAT) with Repository permissions (**Contents: Read and write** and **Workflows: Read and write**). Now, add another secret named **`WORKFLOW_TOKEN`** with your PAT created as the value.
81+
- **Personal Access Token (PAT)**: You'll also need a Personal Access Token (PAT) from GitHub with the appropriate permissions to trigger the GitHub workflow. This PAT is securely stored and encrypted with your wallet. To create PAT, goto [Fine-grained tokens](https://github.com/settings/tokens?type=beta) to create a PAT. Set a token name, expiration, repository access `(All repositories or Only select repositories (Recommended))` and permissions `(Repository permissions -> Actions -> Read and write)`.
8582

8683
3. **Synchronization Activation**:
8784

0 commit comments

Comments
 (0)