File tree 2 files changed +16
-19
lines changed
2 files changed +16
-19
lines changed Original file line number Diff line number Diff line change
1
+ # Dependabot set up for three package managers: GitHub Actions.
2
+
3
+ version : 2
4
+ updates :
5
+
6
+ # Maintain dependencies for GitHub Actions.
7
+ - package-ecosystem : " github-actions"
8
+ # Files stored in repository root.
9
+ directory : " /"
10
+ schedule :
11
+ # Check for updates every weekday.
12
+ interval : " daily"
13
+ open-pull-requests-limit : 10
Original file line number Diff line number Diff line change 11
11
OWNER : wp-portugal
12
12
REPO : wp-portugal-i18n-build-files
13
13
ACCESS_TOKEN : ${{ secrets.ACCESS_TOKEN }} # Access Token with write permissions.
14
- USER_NAME : ${{ secrets.USER_NAME }}
15
- USER_EMAIL : ${{ secrets.USER_EMAIL }}
16
14
17
15
permissions :
18
16
contents : write
28
26
29
27
steps :
30
28
31
- - name : Setup Git User
32
- run : |
33
- git config --global user.email $USER_EMAIL
34
- git config --global user.name $USER_NAME
35
-
36
29
- name : Checkout trunk branch
37
30
uses : actions/checkout@v4
38
31
with :
77
70
78
71
steps :
79
72
80
- - name : Setup Git User
81
- run : |
82
- git config --global user.email $USER_EMAIL
83
- git config --global user.name $USER_NAME
84
-
85
73
- name : Checkout trunk branch
86
74
uses : actions/checkout@v4
87
75
with :
96
84
path : trunk
97
85
98
86
- name : Commit updated source files
99
- id : commit
100
- run : |
101
- # cp downloads/readme.html trunk/readme.html
102
- # cp downloads/wp-config-sample.php trunk/wp-config-sample.php
103
- git add trunk/readme.html trunk/wp-config-sample.php
104
- git commit -m "Update local files with remote changes from Trunk"
105
- git push origin HEAD
87
+ uses : stefanzweifel/git-auto-commit-action@v5
88
+ with :
89
+ commit_message : Update local files with remote changes from Trunk
106
90
107
91
- name : Steps debug info
108
92
run : |
You can’t perform that action at this time.
0 commit comments