File tree Expand file tree Collapse file tree 5 files changed +78
-0
lines changed Expand file tree Collapse file tree 5 files changed +78
-0
lines changed Original file line number Diff line number Diff line change 1+ # See https://github.com/actions/labeler
2+ port-to-master : ' **'
3+ port-to-v1.10 : ' **'
Original file line number Diff line number Diff line change 1+ <!-- -
2+ PRs to RelationalAI/julia must be opened to the correct branch (see
3+ https://github.com/RelationalAI/raicode/blob/master/nix/julia-version.json).
4+ -->
5+ ## PR Description
6+
7+ _ What does this PR do?_
8+
9+ ## Checklist
10+
11+ Requirements for merging:
12+ - [ ] I have opened an issue or PR upstream on JuliaLang/julia: <link to JuliaLang/julia>
13+ - [ ] I have removed the ` port-to-* ` labels that don't apply.
14+ - [ ] I have opened a PR on raicode to test these changes: <link to raicode >
Original file line number Diff line number Diff line change 1+ # See https://github.com/actions/labeler
2+ name : " Pull Request Labeler"
3+ on :
4+ pull_request_target :
5+ types :
6+ - opened
7+
8+ jobs :
9+ triage :
10+ permissions :
11+ contents : read
12+ pull-requests : write
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/labeler@v4
16+ with :
17+ dot : true
Original file line number Diff line number Diff line change 1+ name : " Close stale PRs"
2+ on :
3+ schedule :
4+ - cron : " 0 0 * * *" # every night at midnight
5+
6+ jobs :
7+ stale :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/stale@v8
11+ with :
12+ repo-token : ${{ secrets.GITHUB_TOKEN }}
13+ stale-pr-message : ' This PR is stale because it has been open 30 days with no activity. Comment or remove stale label, or this PR will be closed in 5 days.'
14+ days-before-stale : 30
15+ days-before-close : 5
16+ stale-pr-label : ' stale'
Original file line number Diff line number Diff line change 1+ name : " Update upstream branches"
2+ on :
3+ schedule :
4+ - cron : " 0 0 * * *" # every night at midnight
5+ workflow_dispatch :
6+
7+ jobs :
8+ PullUpstream :
9+ runs-on : ubuntu-latest
10+ strategy :
11+ fail-fast : false # run all jobs in the matrix even if one fails
12+ matrix :
13+ branch :
14+ - " master"
15+ - " backports-release-1.10"
16+ steps :
17+ - name : Checkout RAI/julia
18+ uses : actions/checkout@v3
19+ with :
20+ ref : ${{ matrix.branch }}
21+ - name : Update ${{ matrix.branch }}
22+ run : |
23+ git config --global user.email "julia-engineering@relational.ai"
24+ git config --global user.name "RAI CI (GitHub Action Automation)"
25+
26+ git remote add upstream https://github.com/JuliaLang/julia
27+ git pull upstream ${{ matrix.branch }}
28+ git push origin ${{ matrix.branch }}
You can’t perform that action at this time.
0 commit comments