Skip to content

Commit 679b4f6

Browse files
committed
switch jobs
1 parent 886ac86 commit 679b4f6

File tree

2 files changed

+3
-58
lines changed

2 files changed

+3
-58
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -13,51 +13,22 @@
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

1818
on:
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

3726
concurrency:
3827
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
3928
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
4029

4130
jobs:
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' }}

.github/workflows/merge-queue.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)