From 1c01a92caa41d02b4b494809256545d40c9825c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Anda=20Estensen?= Date: Thu, 17 Oct 2019 12:46:48 +0200 Subject: [PATCH 1/6] Tmp remove close pr --- .github/workflows/pythonapp.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index a9b46f4..2746814 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -38,14 +38,3 @@ jobs: git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git commit -m "Add pipeline" -a - - - name: Commit - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: ${{ github.HEAD_REF }} - - - name: Merge and delete branch - uses: estensen/auto_merge_my_pull_requests@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} From 7837d94e612417ead64ddf3f667af3c1b2bded5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Anda=20Estensen?= Date: Thu, 17 Oct 2019 12:47:24 +0200 Subject: [PATCH 2/6] Add pipeline --- pipeline.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pipeline.yaml b/pipeline.yaml index e69de29..5a3bd63 100644 --- a/pipeline.yaml +++ b/pipeline.yaml @@ -0,0 +1,3 @@ +auth3: + description: hello world app + docker-image: estensen/hello.py From 79626ddf2ac8976d4c6b3519a80d1363ea84099c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Anda=20Estensen?= Date: Thu, 17 Oct 2019 12:50:11 +0200 Subject: [PATCH 3/6] Re-add commit --- .github/workflows/pythonapp.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 2746814..5a08d96 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -38,3 +38,9 @@ jobs: git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git commit -m "Add pipeline" -a + + - name: Commit + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: ${{ github.HEAD_REF }} From 0126b1da9c60bb94a58c80b8ed6f24d16daa3777 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 17 Oct 2019 10:51:41 +0000 Subject: [PATCH 4/6] Add pipeline --- pipeline.yaml | 3 --- pipelines.yaml | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pipeline.yaml b/pipeline.yaml index 5a3bd63..e69de29 100644 --- a/pipeline.yaml +++ b/pipeline.yaml @@ -1,3 +0,0 @@ -auth3: - description: hello world app - docker-image: estensen/hello.py diff --git a/pipelines.yaml b/pipelines.yaml index 3e32585..a2bde62 100644 --- a/pipelines.yaml +++ b/pipelines.yaml @@ -4,6 +4,9 @@ auth: auth-v2: description: authentication docker-image: estensen/auth2 +auth3: + description: hello world app + docker-image: estensen/hello.py id: description: new id app docker-image: estensen/id From 29d1d1647b22aca5ae6d98b0ee23e3d5fa067589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Anda=20Estensen?= Date: Thu, 17 Oct 2019 12:58:56 +0200 Subject: [PATCH 5/6] Use ref instead of head ref --- .github/workflows/pythonapp.yml | 2 +- pipeline.yaml | 3 +++ pipelines.yaml | 3 --- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 5a08d96..69f36e9 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -43,4 +43,4 @@ jobs: uses: ad-m/github-push-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }} - branch: ${{ github.HEAD_REF }} + branch: ${{ github.REF }} diff --git a/pipeline.yaml b/pipeline.yaml index e69de29..5a3bd63 100644 --- a/pipeline.yaml +++ b/pipeline.yaml @@ -0,0 +1,3 @@ +auth3: + description: hello world app + docker-image: estensen/hello.py diff --git a/pipelines.yaml b/pipelines.yaml index a2bde62..3e32585 100644 --- a/pipelines.yaml +++ b/pipelines.yaml @@ -4,9 +4,6 @@ auth: auth-v2: description: authentication docker-image: estensen/auth2 -auth3: - description: hello world app - docker-image: estensen/hello.py id: description: new id app docker-image: estensen/id From 9ab76aafce073fc31bead194047a633e35fe0d54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Anda=20Estensen?= Date: Thu, 17 Oct 2019 13:05:35 +0200 Subject: [PATCH 6/6] Use branch instead of ref --- .github/workflows/pythonapp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 69f36e9..9a60140 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -43,4 +43,4 @@ jobs: uses: ad-m/github-push-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }} - branch: ${{ github.REF }} + branch: ${{ github.BRANCH }}