Commit 8f146e8
committed
CI: Use GitHub token for Packer workflows
Packer workflows sometimes fail due to rate limits of the GitHub API:
Failed getting the "github.com/ethanmdavidson/git" plugin:
1 error occurred:
* Plugin host rate limited the plugin getter. Try again in 3m52.820898337s.
HINT: Set the PACKER_GITHUB_API_TOKEN env var with a token to get more requests.
Set PACKER_GITHUB_API_TOKEN [1] to GITHUB_TOKEN [2] to reduce failures.
[1] https://developer.hashicorp.com/packer/docs/configure#packer_github_api_token
[2] https://docs.github.com/en/actions/concepts/security/github_token1 parent 61692eb commit 8f146e8
3 files changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
98 | | - | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| |||
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
107 | | - | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
0 commit comments