File tree Expand file tree Collapse file tree 2 files changed +3
-58
lines changed
Expand file tree Collapse file tree 2 files changed +3
-58
lines changed Original file line number Diff line number Diff line change 1313# See the License for the specific language governing permissions and
1414# limitations under the License.
1515
16- name : CI
16+ name : Validate Patch
1717
1818on :
19- push :
20- branches :
21- - ' trunk'
22- - ' 4.0'
23-
24- schedule :
25- - cron : ' 0 0 * * 6,0' # Run on Saturday and Sunday at midnight UTC
26-
2719 pull_request :
2820 types : [ opened, synchronize, ready_for_review, reopened ]
29- branches :
30- - ' trunk'
31- - ' 4.0'
21+ branches : ["main"]
3222
3323 merge_group :
34- types :
35- - checks_requested
24+ types : [checks_requested]
3625
3726concurrency :
3827 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
3928 cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
4029
4130jobs :
4231 validate-patch :
43- runs-on : ubuntu-latest
44- steps :
45- - name : Checkout code
46- uses : actions/checkout@v3
47- with :
48- fetch-depth : 0
49- - name : Display info
50- run : |
51- pwd
52- tree -a -I '.git'
53- echo "Action: ${{ github.event.action }}"
54- echo "Sender: ${{ github.event.sender.login }}"
55- git status
56- git log origin/main..HEAD
57- - name : Validate files
58- run : sleep 5
59-
60- build :
6132 uses : ./.github/workflows/build.yml
6233 with :
6334 is-trunk : ${{ github.ref == 'refs/heads/trunk' }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments