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
thrownewError('GITHUB_TOKEN looks like Personal Access Token. `github-token` must be `${{ github.token }}` or `${{ secrets.GITHUB_TOKEN }}`.');
37
-
case'gho_':
36
+
thrownewError("GITHUB_TOKEN looks like Personal Access Token. `github-token` must be `${{ github.token }}` or `${{ secrets.GITHUB_TOKEN }}`.");
37
+
case"gho_":
38
38
// OAuth Access tokens
39
-
thrownewError('GITHUB_TOKEN looks like OAuth Access token. `github-token` must be `${{ github.token }}` or `${{ secrets.GITHUB_TOKEN }}`.');
40
-
case'ghu_':
39
+
thrownewError("GITHUB_TOKEN looks like OAuth Access token. `github-token` must be `${{ github.token }}` or `${{ secrets.GITHUB_TOKEN }}`.");
40
+
case"ghu_":
41
41
// GitHub App user-to-server tokens
42
-
thrownewError('GITHUB_TOKEN looks like GitHub App user-to-server token. `github-token` must be `${{ github.token }}` or `${{ secrets.GITHUB_TOKEN }}`.');
43
-
case'ghs_':
42
+
thrownewError("GITHUB_TOKEN looks like GitHub App user-to-server token. `github-token` must be `${{ github.token }}` or `${{ secrets.GITHUB_TOKEN }}`.");
43
+
case"ghs_":
44
44
// GitHub App server-to-server tokens
45
45
return;// it's OK
46
-
case'ghr_':
47
-
thrownewError('GITHUB_TOKEN looks like GitHub App refresh token. `github-token` must be `${{ github.token }}` or `${{ secrets.GITHUB_TOKEN }}`.');
46
+
case"ghr_":
47
+
thrownewError("GITHUB_TOKEN looks like GitHub App refresh token. `github-token` must be `${{ github.token }}` or `${{ secrets.GITHUB_TOKEN }}`.");
48
48
}
49
49
// maybe Old Format Personal Access Tokens
50
-
thrownewError('GITHUB_TOKEN looks like Personal Access Token. `github-token` must be `${{ github.token }}` or `${{ secrets.GITHUB_TOKEN }}`.');
50
+
thrownewError("GITHUB_TOKEN looks like Personal Access Token. `github-token` must be `${{ github.token }}` or `${{ secrets.GITHUB_TOKEN }}`.");
51
51
}
52
52
// comes from the article "AWS federation comes to GitHub Actions"
0 commit comments