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
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ jobs:
33
33
with:
34
34
project: Backlog
35
35
column: Triage
36
-
repo-token: ${{ secrets.GITHUB_TOKEN }}
36
+
repo-token: ${{ secrets.GH_TOKEN }}
37
37
```
38
38
39
39
### .github/workflows/assigned-pulls-todo.yml
@@ -55,7 +55,7 @@ jobs:
55
55
with:
56
56
project: Backlog
57
57
column: To do
58
-
repo-token: ${{ secrets.GITHUB_TOKEN }}
58
+
repo-token: ${{ secrets.GH_TOKEN }}
59
59
```
60
60
61
61
## Workflow options
@@ -68,7 +68,7 @@ Change these options in the workflow `.yml` file to meet your GitHub project nee
68
68
| `types` | The types of activity that will trigger a workflow run. | `opened`, `assigned` |
69
69
| `project` | The name of the project | `Backlog` |
70
70
| `column` | The column to create or move the card to | `Triage` |
71
-
| `repo-token` | The personal access token | `${{ secrets.GITHUB_TOKEN }}` |
71
+
| `repo-token` | The personal access token | `${{ secrets.GH_TOKEN }}` |
72
72
73
73
74
74
## Private repositories
@@ -80,10 +80,10 @@ GraphqlError: Resource not accessible by integration
80
80
81
81
When this happens you will need to:
82
82
1. Create a [personal access token](https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line)
83
-
2. [Create a secret](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets) containing the personal access token, call it `GITHUB_TOKEN`
83
+
2. [Create a secret](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets) containing the personal access token, call it `GH_TOKEN`
84
84
3. Change the `repo-token` in the workflow `.yml` to reference your new token name:
85
85
```yaml
86
-
repo-token: ${{ secrets.GITHUB_TOKEN }}
86
+
repo-token: ${{ secrets.GH_TOKEN }}
87
87
```
88
88
89
89
With certain organisations there may be SAML enforcement. This means you will need to `Enable SSO` when you create the personal access token.
@@ -94,6 +94,7 @@ GraphqlError: Resource protected by organization SAML enforcement. You must gran
94
94
95
95
## Release History
96
96
97
+
- v0.2.3 - Replace reserved secret `GITHUB_TOKEN` with `GH_TOKEN` in documentation
97
98
- v0.2.2 - Refactor add and move card logic ✨
98
99
- v0.2.1 - Fix bug with move logic when card is already in project
0 commit comments