Skip to content

Commit dec537d

Browse files
SakodaShintaroactions-user
authored andcommitted
Added sync-awf-latest.yaml
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
1 parent e551981 commit dec537d

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: sync-awf-latest
2+
3+
on:
4+
schedule:
5+
- cron: 50 */1 * * * # every 1 hour (**:50)
6+
workflow_dispatch:
7+
8+
jobs:
9+
sync-awf-latest:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
with:
14+
token: ${{ secrets.TOKEN_TO_MODIFY_WOKFLOW }}
15+
fetch-depth: 0
16+
- name: Commit Results
17+
run: |
18+
git config --local user.email "action@github.com"
19+
git config --local user.name "GitHub Action"
20+
21+
git checkout awf-latest
22+
git remote add awf https://github.com/autowarefoundation/autoware.core
23+
git fetch awf main
24+
git rebase awf/main
25+
26+
git push origin awf-latest --force

0 commit comments

Comments
 (0)