Skip to content

Commit

Permalink
Switch to using GITHUB_ACTOR
Browse files Browse the repository at this point in the history
Switch to using GITHUB_ACTOR as the username represented in the commit log for entries created by the pipeline.

Resolved #2

Signed-off-by: Daniel Mikusa <[email protected]>
  • Loading branch information
Daniel Mikusa committed Jul 13, 2022
1 parent ddab035 commit ee1c12c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/pipeline-descriptor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github:
username: ${{ secrets.GITHUB_USERNAME }}
username: ${{ secrets.GITHUB_ACTOR }}
token: ${{ secrets.GITHUB_TOKEN }}

codeowners:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: peter-evans/create-pull-request@v4
with:
author: ${{ secrets.GITHUB_USERNAME }} <${{ secrets.GITHUB_USERNAME }}@users.noreply.github.com>
author: ${{ secrets.GITHUB_ACTOR }} <${{ secrets.GITHUB_ACTOR }}@users.noreply.github.com>
body: |-
Bumps pipeline from `${{ steps.pipeline.outputs.old-version }}` to `${{ steps.pipeline.outputs.new-version }}`.
Expand Down

0 comments on commit ee1c12c

Please sign in to comment.