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
| `auth-token` | GitHub token used to access workflow run logs (GITHUB_TOKEN or a repo scoped PAT). See warning below. | yes | `github.token` (job token) |
119
+
| `auth-token` | GitHub token used to access workflow run logs (GITHUB_TOKEN or a repo scoped PAT). | yes | `github.token` (job token) |
121
120
| `repo` | The full name of the repository for the workflow run in the format of {owner}/{repo}. | yes | `github.repository` (current repository) |
122
121
| `run-id` | The unique identifier of the workflow run that contains the markdown link check step. | yes | --- |
123
122
| `job-name` | The name of the job that contains the markdown link check step. | yes | --- |
@@ -127,10 +126,6 @@ Error:
127
126
| `json-filepath` | The filepath for the output JSON file, relative to the github workspace folder. | no | --- |
128
127
| `markdown-filepath` | The filepath for the output markdown file, relative to the github workspace folder. | no | --- |
129
128
130
-
> **Warning**
131
-
>
132
-
> The default value for `auth-token` action input might not work. In some scenarios I was getting a 500 when trying to download workflow run logs using the GITHUB_TOKEN. If you get a similar error consider using a custom PAT with repo scoped permissions.
Copy file name to clipboardExpand all lines: docs/dev-notes/workflows/test-action-gh-marketplace-workflow.md
-10Lines changed: 0 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,3 @@
8
8
- The main difference from this workflow and the `test-action workflow` are:
9
9
- Tests the GitHub action from the Marketplace instead of building it from this repo. It makes sure that the published version is working.
10
10
- Does not update a PR status because this is not a workflow that should add a status checks to PRs.
11
-
12
-
## Secrets
13
-
14
-
This workflow uses a custom secret `TEST_GITHUB_ACTION_GH_TOKEN`. This secret contains a GitHub token with permissions to access public repositories and has no expiration date. This token is required to run the app on this `test-action` workflow.
15
-
16
-
> **Note**
17
-
>
18
-
> Before the `GITHUB_TOKEN` from the workflow run was enough, there was no need for a custom token. However, around the time of commit 42bd774ebbf09450a4e7a2dcad33cc17995aa5af, the app started failing due to a `500` when downloading workflow run logs using the `GITHUB_TOKEN`.
19
-
>
20
-
> Couldn't find any information as to what might have changed in GitHub to cause this so I decided to fix the problem using a custom token. However, in the future, I might try again using the `GITHUB_TOKEN` to see if the problem has been remediated.
Copy file name to clipboardExpand all lines: docs/dev-notes/workflows/test-action-workflow.md
-11Lines changed: 0 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -20,14 +20,3 @@ Since this workflow executes the [Docker container action](https://docs.github.c
20
20
> The downside of this approach is that I need to keep both `action.yml` files, the one at the root of the repo and the one at `/action-local`, in sync.
21
21
>
22
22
> Alternativel, I could try to setup the workflows so that this test workflow only runs after the Docker image has been published. However this approach also has problems to solve such as making sure that the checks work as expected in a pull request scenario. The current approach eliminates all problems of this type with the only downside of keeping the `action.yml` files in sync.
23
-
24
-
## Secrets
25
-
26
-
This workflow uses a custom secret `TEST_GITHUB_ACTION_GH_TOKEN`. This secret contains a GitHub token with permissions to access public repositories and has no expiration date. This token is required to run the app on this `test-action` workflow.
27
-
28
-
> **Note**
29
-
>
30
-
> Before the `GITHUB_TOKEN` from the workflow run was enough, there was no need for a custom token. However, around the time of commit 42bd774ebbf09450a4e7a2dcad33cc17995aa5af, the app started failing due to a `500` when downloading workflow run logs using the `GITHUB_TOKEN`.
31
-
>
32
-
> Couldn't find any information as to what might have changed in GitHub to cause this so I decided to fix the problem using a custom token. However, in the future, I might try again using the `GITHUB_TOKEN` to see if the problem has been remediated.
0 commit comments