Commit c5f0a24 1 parent dd4606b commit c5f0a24 Copy full SHA for c5f0a24
File tree 1 file changed +17
-13
lines changed
1 file changed +17
-13
lines changed Original file line number Diff line number Diff line change 9
9
sync-awf-latest :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v2
12
+ - name : Generate token
13
+ id : generate-token
14
+ uses : tibdex/github-app-token@v1
13
15
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"
16
+ app_id : ${{ secrets.APP_ID }}
17
+ private_key : ${{ secrets.PRIVATE_KEY }}
20
18
21
- git checkout awf-latest
22
- git remote add awf https://github.com/autowarefoundation/autoware.universe
23
- git fetch awf main
24
- git rebase awf/main
25
-
26
- git push origin awf-latest --force
19
+ - name : Run sync-branches
20
+ uses : autowarefoundation/autoware-github-actions/sync-branches@v1
21
+ with :
22
+ token : ${{ steps.generate-token.outputs.token }}
23
+ base-branch : awf-latest
24
+ sync-pr-branch : sync-awf-latest
25
+ sync-target-repository : https://github.com/autowarefoundation/autoware.universe.git
26
+ sync-target-branch : main
27
+ pr-title : " chore: sync awf-latest"
28
+ pr-labels : |
29
+ bot
30
+ auto-merge-method : merge
You can’t perform that action at this time.
0 commit comments