You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This action commits files and safe-pushes them to a selected branch of a target repository.
4
+
5
+
In case of branch changes during the action execution it will try to pull the changes from the remote repo before reattempting to push the commit, 3 times.
6
+
7
+
If there are no changes to be commited, the action will exit with code 0.
8
+
9
+
# Usage
10
+
11
+
<!-- start usage -->
12
+
```yaml
13
+
- uses: actions/safepush@v1
14
+
with:
15
+
# User who is pushing the changes
16
+
# Required: true
17
+
user-name:
18
+
19
+
# Email of the user who is pushing the changes
20
+
# Required: true
21
+
user-email:
22
+
23
+
# Github Token to push to the repository
24
+
# Required: true
25
+
repo-token:
26
+
27
+
# Branch to where to push the changes to
28
+
# Required: false
29
+
# Default: main
30
+
branch:
31
+
32
+
# Commit message
33
+
# Required: false
34
+
commit-message:
35
+
36
+
# Repository to push to (can be org/repo-name or just repo-name)
37
+
# Required: true
38
+
repository:
39
+
40
+
# Owner of the repository (specify only if repository name does not incluse the owner)
0 commit comments