File tree 1 file changed +10
-5
lines changed
1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,8 @@ name: Mirror intel/llvm commits
3
3
4
4
on :
5
5
workflow_dispatch :
6
- # TODO: Renable schedule once push permission issue is resolved
7
- # schedule:
8
- # - cron: "0 * * * *"
6
+ schedule :
7
+ - cron : " 0 * * * *"
9
8
10
9
permissions :
11
10
contents : read
15
14
runs-on : ubuntu-latest
16
15
permissions :
17
16
contents : write
17
+ pull-requests : write
18
18
19
19
steps :
20
20
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
36
36
- run : |
37
37
python3 unified-runtime/scripts/mirror-commits-from-intel-llvm.py ${{github.workspace}}/unified-runtime ${{github.workspace}}/intel-llvm
38
38
39
- - run : |
40
- git -C ${{github.workspace}}/unified-runtime push origin main
39
+ - id : date
40
+ run : echo "::set-output name=value::$(date +'%Y-%m-%d')"
41
+
42
+ - uses : peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
43
+ with :
44
+ title : Mirror intel/llvm commits ${{ steps.date.output.value }}
45
+ branch : mirror-commits-${{ steps.date.output.value }}
You can’t perform that action at this time.
0 commit comments