[CI] cleanup

This commit is contained in:
tangxifan 2021-12-29 10:51:06 -08:00
parent 813fdec54d
commit aeb40fef60
2 changed files with 0 additions and 57 deletions

View File

@ -1,25 +0,0 @@
name: Create Pull Request for Upstream Changes
on:
push:
branches:
- update_from_upstream
jobs:
pull-request:
runs-on: ubuntu-latest
env:
BRANCH_UPSTREAM: update_from_upstream
steps:
- uses: actions/checkout@v2
- name: pull-request
uses: repo-sync/pull-request@v2
with:
source_branch: ${{env.BRANCH_UPSTREAM}} # name of branch for PR
destination_branch: "master" # name of branch on which PR go
pr_title: "Pulling ${{ github.ref }} into master" # Title of pull request
pr_body: ":crown: *An automated PR*" # Full markdown support, requires pr_title
pr_reviewer: "tangxifan" # Comma-separated list (no spaces)
pr_assignee: "nadeemyaseen-rs,mahmoodulhassan-rs" # Comma-separated list (no spaces)
pr_label: "auto-pr" # Comma-separated list (no spaces)
pr_allow_empty: true # Creates pull request even if there are no changes
github_token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,32 +0,0 @@
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: self-hosted
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v1
with:
submodules: true
- name: Updating submodules
run: |
git submodule init
git submodule update --init --recursive
# Runs a set of commands using the runners shell
- name: Executing Script
run:
./ci_test.sh