Skip to content

feat: Allow overriding actor#126

Merged
creyD merged 3 commits intocreyD:devfrom
DerekTBrown:master
Aug 21, 2023
Merged

feat: Allow overriding actor#126
creyD merged 3 commits intocreyD:devfrom
DerekTBrown:master

Conversation

@DerekTBrown
Copy link
Copy Markdown
Contributor

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
Copy Markdown
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