From e217b0778a2e2012de42eb7d35e38fa668b652fa Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 20 Apr 2022 00:03:31 +0300 Subject: [PATCH 1/4] test commit --- .github/workflows/create_pull_request.yml | 20 +++++++++++++++++++ ...ull_request.yml => merge_pull_request.yml} | 0 2 files changed, 20 insertions(+) create mode 100644 .github/workflows/create_pull_request.yml rename .github/workflows/{pull_request.yml => merge_pull_request.yml} (100%) diff --git a/.github/workflows/create_pull_request.yml b/.github/workflows/create_pull_request.yml new file mode 100644 index 0000000..a0ba82e --- /dev/null +++ b/.github/workflows/create_pull_request.yml @@ -0,0 +1,20 @@ +name: Pull Request Action +on: + push: + branches: + - feature/* + - test/* + +jobs: + create-pull-request: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v2 + - name: pull-request + uses: repo-sync/pull-request@v2 + with: + destination_branch: "develop" + github_token: ${{ secrets.GITHUB_TOKEN }} + pr_label: "feature, automated pr" + pr_title: "[Example] Simple demo" \ No newline at end of file diff --git a/.github/workflows/pull_request.yml b/.github/workflows/merge_pull_request.yml similarity index 100% rename from .github/workflows/pull_request.yml rename to .github/workflows/merge_pull_request.yml From 905872fdc0800fb22c8dd50a70b16de53d8800b4 Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 20 Apr 2022 00:03:47 +0300 Subject: [PATCH 2/4] test commit --- .github/workflows/create_pull_request.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/create_pull_request.yml b/.github/workflows/create_pull_request.yml index a0ba82e..d9d1eb5 100644 --- a/.github/workflows/create_pull_request.yml +++ b/.github/workflows/create_pull_request.yml @@ -4,6 +4,7 @@ on: branches: - feature/* - test/* + - test jobs: create-pull-request: From 33a2dcdb48c6176a846bcfeca45d594af71937bb Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 20 Apr 2022 00:05:27 +0300 Subject: [PATCH 3/4] test commit --- .github/workflows/merge_pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge_pull_request.yml b/.github/workflows/merge_pull_request.yml index eddd2ef..464e120 100644 --- a/.github/workflows/merge_pull_request.yml +++ b/.github/workflows/merge_pull_request.yml @@ -2,7 +2,7 @@ name: test on: pull_request: - branches: [master] + branches: [master, develop, staging] jobs: build: From 1260c650cea9d3f7c2c77a151686434917a5d651 Mon Sep 17 00:00:00 2001 From: Benedict Steven <48621248+bmsteven@users.noreply.github.com> Date: Thu, 21 Apr 2022 00:20:47 +0300 Subject: [PATCH 4/4] Create npm-gulp.yml --- .github/workflows/npm-gulp.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/npm-gulp.yml diff --git a/.github/workflows/npm-gulp.yml b/.github/workflows/npm-gulp.yml new file mode 100644 index 0000000..32297a6 --- /dev/null +++ b/.github/workflows/npm-gulp.yml @@ -0,0 +1,28 @@ +name: NodeJS with Gulp + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [12.x, 14.x, 16.x] + + steps: + - uses: actions/checkout@v3 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Build + run: | + npm install + gulp