66
77``` yml
88on :
9- pull_request :
9+ push :
10+ branches : " main"
1011jobs :
1112 job :
1213 permissions :
@@ -35,7 +36,8 @@ A convenience wrapper with sensible defaults so that you don't have to do
3536
3637` ` ` yml
3738on:
38- pull_request:
39+ push:
40+ branches: "main"
3941jobs:
4042 job:
4143 permissions:
@@ -119,12 +121,15 @@ a premade action like [actions4git/setup-git] to configure the `user.name` and
119121 ` false` .
120122
121123- **`commit-author`:** A `Name Here <[email protected] >` AiO author name & 122- email string. This is a shortcut alternative to the independent
123- ` commit-author-name` and `commit-author-email` options that are also
124- available. This defaults to the current `github.actor`. Note that this is
125- different from the `commit-committer`. [The author of a commit is who wrote
126- the thing, and the committer is who committed it to Git.] It's recommended to
127- leave this as the default.
124+ email string. This is a shortcut alternative to the independant
125+ ' commit-author-name' and `commit-author-email` options that are also
126+ available. This defaults to <b>@github-actions\[bot\]</b>. You can set this to
127+ the special value `github-actions` to use the <b>@github-actions\[bot\]</b>
128+ user as the author, or the special `me` value to use the current
129+ ` github.actor` user as the author. Note that this is different from the
130+ ` commit-committer` . The author of a commit is who wrote the thing and the
131+ committer is who committed it to Git. It's recommended to leave this as the
132+ default.
128133
129134- **`commit-author-name`:** The name of the author to associate with the commit.
130135 Should be left unspecified if `commit-author` is specified.
@@ -134,10 +139,11 @@ a premade action like [actions4git/setup-git] to configure the `user.name` and
134139
135140- **`commit-committer`:** A `Name Here <[email protected] >` AiO author name 136141 & email string. This input is a shortcut for the `commit-committer-name` and
137- ` commit-committer-email` inputs that can also be individually specified. This
138- defaults to the `github-actions[bot]` user which is probably what you want.
139- It's recommended to change the `commit-author` before changing the
140- ` commit-committer` .
142+ ` commit-committer-email` inputs that can also be individually specified. You
143+ can set this to the special value `github-actions` to use the
144+ <b>@github-actions\[bot\]</b> user as the committer, or the special `me` value
145+ to use the current `github.actor` user as the committer. If this input is
146+ unspecified, the committer defaults to the author.
141147
142148- **`commit-committer-name`:** The name of the committer to associate with the
143149 commit. Should be left unspecified if `commit-committer` is specified.
@@ -173,11 +179,7 @@ TODO!
173179
174180
175181
176- **How do I test my changes?**
177-
178- The easiest way is to open a Draft Pull Request either against the upstream
179- repository or against your own fork's main branch and watch the GitHub Actions
180- do their thing.
182+ TODO!
181183
182184<!-- prettier-ignore-start -->
183185[Git Pathspecs and How to Use Them] : https://css-tricks.com/git-pathspecs-and-how-to-use-them/
0 commit comments