diff --git a/.github/workflows/create_pull_request.yml b/.github/workflows/create_pull_request.yml new file mode 100644 index 0000000..d9d1eb5 --- /dev/null +++ b/.github/workflows/create_pull_request.yml @@ -0,0 +1,21 @@ +name: Pull Request Action +on: + push: + branches: + - feature/* + - test/* + - 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/merge_pull_request.yml b/.github/workflows/merge_pull_request.yml new file mode 100644 index 0000000..464e120 --- /dev/null +++ b/.github/workflows/merge_pull_request.yml @@ -0,0 +1,18 @@ +name: test + +on: + pull_request: + branches: [master, develop, staging] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Check Out Repo + uses: actions/checkout@v2 + + - name: 🔀 Merge Pull Request + uses: BaharaJr/merge-pr@0.0.1 + with: + GITHUB_TOKEN: ${{ secrets.TOKEN }} \ No newline at end of file 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 diff --git a/another_file.txt b/another_file.txt deleted file mode 100644 index 52d072b..0000000 --- a/another_file.txt +++ /dev/null @@ -1 +0,0 @@ -hello, this is my second file in my github account