Skip to content

Commit

Permalink
Update Actions documentation for SSH authentication with deploy key (g…
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Lopes authored Jun 28, 2022
1 parent bf270a1 commit 3f2ceb5
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -921,6 +921,12 @@ on:
push
```

{% note %}

**Note**: When a `push` webhook event triggers a workflow run, the Actions UI's "pushed by" field shows the account of the pusher and not the author or committer. However, if the changes are pushed to a repository using SSH authentication with a deploy key, then the "pushed by" field will be the repository admin who verified the deploy key when it was added it to a repository.

{% endnote %}

#### Running your workflow only when a push to specific branches occurs

You can use the `branches` or `branches-ignore` filter to configure your workflow to only run when specific branches are pushed. For more information, see "[Workflow syntax for GitHub Actions](/actions/learn-github-actions/workflow-syntax-for-github-actions#onpushbranchestagsbranches-ignoretags-ignore)."
Expand Down

0 comments on commit 3f2ceb5

Please sign in to comment.