You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-6
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,8 @@ To synchronize your Protocol Land repository with GitHub, you'll need to configu
24
24
25
25
- Navigate to your GitHub repository's **Settings > Secrets and variables > Actions > New Repository Secret**.
26
26
-**(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.
28
29
29
30
3.**Setting Up the GitHub Workflow**:
30
31
@@ -77,11 +78,7 @@ Goto repository settings on Protocol Land. Then configure the following:
77
78
- **Repository**: Write your Github repository name with username. For example, `labscommunity/protocol-land`.
78
79
- **Branch**: Select the branch that contains the GitHub workflow file.
79
80
- **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:  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)`.
0 commit comments