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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Allow overriding actor #126

Merged
merged 3 commits into from
Aug 21, 2023
Merged

feat: Allow overriding actor #126

merged 3 commits into from
Aug 21, 2023

Conversation

DerekTBrown
Copy link

Desired Behavior

I want to have the following behavior:

  • A workflow triggers the prettier_action.
  • The prettier_action makes prettier changes and commits them back to the PR branch.
  • Workflows re-run on the prettified changes, verifying the prettified changes.

Actual Behavior

The prettier changes don't re-trigger workflow execution, because the user is set to the Actions user.

How this PR fixes the bug

This PR adds an option to use the author's identity, so a user can re-trigger workflows.

Test Plan

I tested this against a private pipeline that I operate, and it worked.

@creyD creyD changed the base branch from master to dev August 21, 2023 19:04
@creyD creyD merged commit 0fc0cf4 into creyD:dev Aug 21, 2023
@creyD
Copy link
Owner

creyD commented Aug 21, 2023

@DerekTBrown Thank you for your PR. If you want you can check this now against dev, I will merge to master in a couple of days.

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.

2 participants