From fa81a09988ffb0efcc693286544f6fedd4c746df Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Tue, 27 Aug 2019 22:21:53 +0300 Subject: [PATCH 1/3] Update main.yml --- .github/workflows/main.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4a78d32649..927645e2cb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,8 +4,6 @@ on: push: branches: - master - paths: - - 'channels/*' jobs: generate: @@ -30,3 +28,11 @@ jobs: - name: "git commit -m" run: git commit -m "Generated grouped playlists" + + - name: Create Pull Request + uses: peter-evans/create-pull-request@v1.1.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} + PULL_REQUEST_TITLE: Generated grouped playlists + PULL_REQUEST_BODY: This is an auto-generated PR From cc9e26d9e5eb144fce2eeb24cc847c16fd605d02 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Tue, 27 Aug 2019 22:27:08 +0300 Subject: [PATCH 2/3] Update main.yml --- .github/workflows/main.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 927645e2cb..6d5fdd1b3e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,10 +29,5 @@ jobs: - name: "git commit -m" run: git commit -m "Generated grouped playlists" - - name: Create Pull Request - uses: peter-evans/create-pull-request@v1.1.1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} - PULL_REQUEST_TITLE: Generated grouped playlists - PULL_REQUEST_BODY: This is an auto-generated PR + - name: "git push origin master" + run: git push origin master From 604e28fd2e92366984b66bc9fe24266bb35ee26a Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Tue, 27 Aug 2019 22:39:57 +0300 Subject: [PATCH 3/3] Update main.yml --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6d5fdd1b3e..2294b38de0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,6 +4,8 @@ on: push: branches: - master + paths: + - 'channels/*' jobs: generate: @@ -30,4 +32,4 @@ jobs: run: git commit -m "Generated grouped playlists" - name: "git push origin master" - run: git push origin master + run: git push git@github.com:${GITHUB_REPOSITORY}.git master