Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplified Acctest Command Dispatching Workflow #324

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

zliang-akamai
Copy link
Member

@zliang-akamai zliang-akamai commented Apr 25, 2023

馃摑 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.

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#2 (comment)

@zliang-akamai zliang-akamai requested a review from a team April 25, 2023 15:42
Copy link
Contributor

@yec-akamai yec-akamai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@ezilber-akamai-zz ezilber-akamai-zz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@zliang-akamai zliang-akamai merged commit 1a32ada into main Apr 26, 2023
3 checks passed
@zliang-akamai zliang-akamai deleted the zhiwei/simplified-acctest-workflow branch April 26, 2023 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants