Commit dab9a60
authored
Simplified Acctest Command Dispatching Workflow (#447)
## 📝 Description
When we created the acctest command workflows, GitHub doesn't support
using `GITHUB_TOKEN` to trigger another workflow [but later they added
some
exception](https://github.blog/changelog/2022-09-08-github-actions-use-github_token-with-workflow_dispatch-and-repository_dispatch/).
We used a workaround to generate a token as a GitHub App to trigger an
`repository_dispatch` event to trigger the integration test. With the
newly added exception, now I believe we can trigger the integration test
directly by the `repository_dispatch` event triggered by the built-in
`GITHUB_TOKEN`, and we can now remove the action that was used to
generate GitHub App token.
## ✔️ How to Test
Will only be testable in this repo after merging.
Success on my forked repo:
zliang-akamai/linodego#2 (comment)1 parent 6c194db commit dab9a60
1 file changed
+2
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 12 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 13 | + | |
23 | 14 | | |
24 | | - | |
25 | | - | |
| 15 | + | |
26 | 16 | | |
27 | 17 | | |
28 | 18 | | |
| |||
0 commit comments