-
Notifications
You must be signed in to change notification settings - Fork 0
65 lines (50 loc) · 1.56 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Auto-commit Workflow
on:
# Run this workflow whenever changes are made to the repository
push:
branches:
- master
- windows
jobs:
auto_commit_linux:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Git
run: |
git config --global user.name 'ente0v1'
git config --global user.email 'robocraft.only2002@gmail.com'
- name: Add changes
run: git add .
- name: Commit changes
run: |
git commit -m "Auto-commit changes" || exit 0
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: master
- name: Merge with master
run: git merge windows --no-edit
auto_commit_windows:
runs-on: windows-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Git
run: |
git config --global user.name 'ente0v1'
git config --global user.email 'robocraft.only2002@gmail.com'
- name: Add changes
run: git add .
- name: Commit changes
run: |
git commit -m "Auto-commit changes" || exit 0
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: windows
- name: Merge with master
run: git merge master --no-edit