From 68a3eea7539ed3579dd8e9ab736664d40ac6b942 Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Thu, 14 Jan 2021 22:33:17 +0530 Subject: [PATCH 01/23] handle missing dependencies while benchmarking --- .github/workflows/benchmarks.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index c17819012..9217fab07 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -4,6 +4,9 @@ on: push: branches: - master + pull_request: + branches: + - master schedule: - cron: "0 12 * * *" @@ -35,7 +38,7 @@ jobs: rm -rf tensorflow_io echo ${{ matrix.version }} | awk -F: '{print $1}' | xargs python -m pip install -U echo ${{ matrix.version }} | awk -F: '{print $2}' | xargs python -m pip install --no-deps -U - python -m pip install pytest-benchmark scikit-image + python -m pip install -q scikit-image pytest pytest-benchmark boto3 fastavro avro-python3 scikit-image pandas pyarrow==2.0.0 google-cloud-pubsub==2.1.0 google-cloud-bigquery-storage==1.1.0 google-cloud-bigquery==2.3.1 google-cloud-storage==1.32.0 python -m pip freeze python -c 'import tensorflow as tf; print(tf.version.VERSION)' python -c 'import tensorflow_io as tfio; print(tfio.version.VERSION)' @@ -66,7 +69,7 @@ jobs: rm -rf tensorflow_io echo ${{ matrix.version }} | awk -F: '{print $1}' | xargs python -m pip install -U echo ${{ matrix.version }} | awk -F: '{print $2}' | xargs python -m pip install --no-deps -U - python -m pip install pytest-benchmark scikit-image + python -m pip install -q scikit-image pytest pytest-benchmark boto3 fastavro avro-python3 scikit-image pandas pyarrow==2.0.0 google-cloud-pubsub==2.1.0 google-cloud-bigquery-storage==1.1.0 google-cloud-bigquery==2.3.1 google-cloud-storage==1.32.0 python -m pip freeze python -c 'import tensorflow as tf; print(tf.version.VERSION)' python -c 'import tensorflow_io as tfio; print(tfio.version.VERSION)' From d2d144f3d992272ce94ca472c636a5013df4562f Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Thu, 14 Jan 2021 22:48:40 +0530 Subject: [PATCH 02/23] setup test_sql --- .github/workflows/benchmarks.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 9217fab07..6ccb2b18f 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -61,6 +61,7 @@ jobs: run: | set -x -e bash -x -e .github/workflows/build.space.sh + bash -x -e tests/test_sql/sql_test.sh - name: Test Linux run: | set -x -e From 26a35ebf55a1f439dedbd5003e857a511c195b15 Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Thu, 14 Jan 2021 22:49:18 +0530 Subject: [PATCH 03/23] job name change --- .github/workflows/benchmarks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 6ccb2b18f..e857e9550 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -30,7 +30,7 @@ jobs: set -x -e python -m pip install -U wheel setuptools python --version - - name: Test macOS + - name: Benchmark on macOS run: | set -x -e python --version @@ -62,7 +62,7 @@ jobs: set -x -e bash -x -e .github/workflows/build.space.sh bash -x -e tests/test_sql/sql_test.sh - - name: Test Linux + - name: Benchmark on Linux run: | set -x -e python --version From d54d74d313660ea0eb195a8bba61ace2dd4fddf7 Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Sat, 16 Jan 2021 00:28:12 +0530 Subject: [PATCH 04/23] set auto-push to true --- .github/workflows/benchmarks.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index e857e9550..45b5f0913 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -79,4 +79,5 @@ jobs: uses: rhysd/github-action-benchmark@v1 with: tool: 'pytest' - output-file-path: benchmark.json \ No newline at end of file + output-file-path: benchmark.json + auto-push: true \ No newline at end of file From cc0cc3633d69409693c383e93cd8afefe37bd5d4 Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Sat, 16 Jan 2021 00:39:04 +0530 Subject: [PATCH 05/23] remove auto-push --- .github/workflows/benchmarks.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 45b5f0913..e857e9550 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -79,5 +79,4 @@ jobs: uses: rhysd/github-action-benchmark@v1 with: tool: 'pytest' - output-file-path: benchmark.json - auto-push: true \ No newline at end of file + output-file-path: benchmark.json \ No newline at end of file From 7587f757f740882508989f8f2e676a3e00d757f8 Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Sat, 16 Jan 2021 01:44:47 +0530 Subject: [PATCH 06/23] add personal access token --- .github/workflows/benchmarks.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index e857e9550..4511a8fce 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -79,4 +79,8 @@ jobs: uses: rhysd/github-action-benchmark@v1 with: tool: 'pytest' - output-file-path: benchmark.json \ No newline at end of file + output-file-path: benchmark.json + # Personal access token to deploy GitHub Pages branch + github-token: ${{ secrets.PERSONAL_GITHUB_TOKEN }} + # Push and deploy GitHub pages branch automatically + auto-push: true \ No newline at end of file From 6965b6f99b655ad439dce815153bca181b7fd372 Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Sat, 16 Jan 2021 02:16:24 +0530 Subject: [PATCH 07/23] use alternate method to push to gh-pages --- .github/workflows/benchmarks.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 4511a8fce..a29da72d5 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -6,7 +6,7 @@ on: - master pull_request: branches: - - master + - master schedule: - cron: "0 12 * * *" @@ -80,7 +80,6 @@ jobs: with: tool: 'pytest' output-file-path: benchmark.json - # Personal access token to deploy GitHub Pages branch - github-token: ${{ secrets.PERSONAL_GITHUB_TOKEN }} - # Push and deploy GitHub pages branch automatically - auto-push: true \ No newline at end of file + auto-push: false + - name: Push benchmark result + run: git push 'https://tensorflow:${{ secrets.PERSONAL_GITHUB_TOKEN }}@github.com/tensorflow/io.git' gh-pages:gh-pages \ No newline at end of file From 59e89636f1eb460007c56634bd01056f0b617c02 Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Sat, 16 Jan 2021 02:17:19 +0530 Subject: [PATCH 08/23] add name to the action --- .github/workflows/benchmarks.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index a29da72d5..3adb957ee 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -78,6 +78,7 @@ jobs: - name: Store benchmark result uses: rhysd/github-action-benchmark@v1 with: + name: Tensorflow-IO Benchmarks tool: 'pytest' output-file-path: benchmark.json auto-push: false From 1b014a936d6fcefb2c78bb7834deadf1e43b2fed Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Sat, 16 Jan 2021 02:28:09 +0530 Subject: [PATCH 09/23] use different id --- .github/workflows/benchmarks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 3adb957ee..46fa663fd 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -83,4 +83,4 @@ jobs: output-file-path: benchmark.json auto-push: false - name: Push benchmark result - run: git push 'https://tensorflow:${{ secrets.PERSONAL_GITHUB_TOKEN }}@github.com/tensorflow/io.git' gh-pages:gh-pages \ No newline at end of file + run: git push 'https://yongtang:${{ secrets.PERSONAL_GITHUB_TOKEN }}@github.com/tensorflow/io.git' gh-pages:gh-pages \ No newline at end of file From 5741a092fa8ef45ca285951be87a0cd707cbb6b3 Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Sat, 16 Jan 2021 02:46:11 +0530 Subject: [PATCH 10/23] modify creds --- .github/workflows/benchmarks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 46fa663fd..1745ffbcb 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -83,4 +83,4 @@ jobs: output-file-path: benchmark.json auto-push: false - name: Push benchmark result - run: git push 'https://yongtang:${{ secrets.PERSONAL_GITHUB_TOKEN }}@github.com/tensorflow/io.git' gh-pages:gh-pages \ No newline at end of file + run: git push 'https://${{ secrets.PERSONAL_GITHUB_TOKEN }}@github.com/tensorflow/io.git' gh-pages:gh-pages \ No newline at end of file From 1f480dc387274cf037f06af430deec56e57e7e4c Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Sat, 16 Jan 2021 04:03:32 +0530 Subject: [PATCH 11/23] use github_token --- .github/workflows/benchmarks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 1745ffbcb..7ea600d5c 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -83,4 +83,4 @@ jobs: output-file-path: benchmark.json auto-push: false - name: Push benchmark result - run: git push 'https://${{ secrets.PERSONAL_GITHUB_TOKEN }}@github.com/tensorflow/io.git' gh-pages:gh-pages \ No newline at end of file + run: git push 'https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git' gh-pages:gh-pages \ No newline at end of file From 8d31c5f1fa8fc6c1b194298dc211a2d369f22db0 Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Sat, 16 Jan 2021 04:13:14 +0530 Subject: [PATCH 12/23] change repo name --- .github/workflows/benchmarks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 7ea600d5c..75affaebd 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -83,4 +83,4 @@ jobs: output-file-path: benchmark.json auto-push: false - name: Push benchmark result - run: git push 'https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git' gh-pages:gh-pages \ No newline at end of file + run: git push 'https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/tensorflow/io.git' gh-pages:gh-pages \ No newline at end of file From 04113d881df678751b36d1ce15be5e2b2ce449ad Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Sat, 16 Jan 2021 04:23:22 +0530 Subject: [PATCH 13/23] set auto-push --- .github/workflows/benchmarks.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 75affaebd..65dfb6531 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -81,6 +81,7 @@ jobs: name: Tensorflow-IO Benchmarks tool: 'pytest' output-file-path: benchmark.json - auto-push: false - - name: Push benchmark result - run: git push 'https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/tensorflow/io.git' gh-pages:gh-pages \ No newline at end of file + github-token: ${{ secrets.GITHUB_TOKEN }} + auto-push: true + # - name: Push benchmark result + # run: git push 'https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/tensorflow/io.git' gh-pages:gh-pages \ No newline at end of file From 1915471965705a2dd7e758961d59243e702e9352 Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Sat, 16 Jan 2021 13:41:05 +0530 Subject: [PATCH 14/23] set origin and push results --- .github/workflows/benchmarks.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 65dfb6531..d2f90390b 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -81,7 +81,9 @@ jobs: name: Tensorflow-IO Benchmarks tool: 'pytest' output-file-path: benchmark.json - github-token: ${{ secrets.GITHUB_TOKEN }} - auto-push: true - # - name: Push benchmark result - # run: git push 'https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/tensorflow/io.git' gh-pages:gh-pages \ No newline at end of file + # github-token: ${{ secrets.GITHUB_TOKEN }} + auto-push: false + - name: Push benchmark result + run: | + git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/tensorflow/io.git + git push origin gh-pages \ No newline at end of file From e8a0e137d69a3dffd742389450055653bdd6afd5 Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Sat, 16 Jan 2021 13:41:43 +0530 Subject: [PATCH 15/23] set env --- .github/workflows/benchmarks.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index d2f90390b..c5e0d8bda 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -84,6 +84,8 @@ jobs: # github-token: ${{ secrets.GITHUB_TOKEN }} auto-push: false - name: Push benchmark result + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/tensorflow/io.git git push origin gh-pages \ No newline at end of file From 564b2a9c4e21664012427efba99bfd1152a4c746 Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Sat, 16 Jan 2021 13:52:06 +0530 Subject: [PATCH 16/23] use PERSONAL_GITHUB_TOKEN --- .github/workflows/benchmarks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index c5e0d8bda..ed6c446b2 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -85,7 +85,7 @@ jobs: auto-push: false - name: Push benchmark result env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }} run: | git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/tensorflow/io.git git push origin gh-pages \ No newline at end of file From c261e8f7c731eabdea649bbffd4981e4046f229d Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Sat, 16 Jan 2021 14:04:17 +0530 Subject: [PATCH 17/23] use push changes action --- .github/workflows/benchmarks.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index ed6c446b2..9d942f924 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -83,9 +83,8 @@ jobs: output-file-path: benchmark.json # github-token: ${{ secrets.GITHUB_TOKEN }} auto-push: false - - name: Push benchmark result - env: - GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }} - run: | - git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/tensorflow/io.git - git push origin gh-pages \ No newline at end of file + - name: Push changes + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: gh-pages \ No newline at end of file From 2107a72d8f8ac29a1adfbee7288f13ec3de7144f Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Sat, 16 Jan 2021 14:14:06 +0530 Subject: [PATCH 18/23] use github.head_ref to push the changes --- .github/workflows/benchmarks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 9d942f924..164a8c96d 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -87,4 +87,4 @@ jobs: uses: ad-m/github-push-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }} - branch: gh-pages \ No newline at end of file + branch: ${{ github.head_ref }} \ No newline at end of file From 460602a67389329305c94fc12cedb3f3df810273 Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Sat, 16 Jan 2021 14:26:15 +0530 Subject: [PATCH 19/23] try using fetch-depth --- .github/workflows/benchmarks.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 164a8c96d..88b8bbae8 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -54,6 +54,8 @@ jobs: version: ['tensorflow==2.4.0:tensorflow-io-nightly', 'tensorflow==2.4.0:tensorflow-io'] steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - uses: actions/setup-python@v1 with: python-version: ${{ matrix.python }} From 50008a9c26447bdbda741ee1f3b806db8bf5e117 Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Sun, 17 Jan 2021 23:21:47 +0530 Subject: [PATCH 20/23] modify branch name --- .github/workflows/benchmarks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 88b8bbae8..e9abb1508 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -89,4 +89,4 @@ jobs: uses: ad-m/github-push-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }} - branch: ${{ github.head_ref }} \ No newline at end of file + branch: gh-pages \ No newline at end of file From a69d9f989be66a2e943383a27fd27103652b2fae Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Sun, 17 Jan 2021 23:42:18 +0530 Subject: [PATCH 21/23] use alternative push approach --- .github/workflows/benchmarks.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index e9abb1508..5cd64376b 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -85,8 +85,11 @@ jobs: output-file-path: benchmark.json # github-token: ${{ secrets.GITHUB_TOKEN }} auto-push: false - - name: Push changes - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: gh-pages \ No newline at end of file + - name: Push benchmark result + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + git config user.name "${GITHUB_ACTOR}" + git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" + git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git + git push origin gh-pages \ No newline at end of file From c530e01c8255badeccd7087fcd1546a7a8265593 Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Sun, 17 Jan 2021 23:53:44 +0530 Subject: [PATCH 22/23] git switch - --- .github/workflows/benchmarks.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 5cd64376b..1b1636af9 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -89,6 +89,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | + git switch - git config user.name "${GITHUB_ACTOR}" git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git From bb4ac16d4538fc7842f26438e99bcac05b0c38b8 Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Tue, 19 Jan 2021 00:57:08 +0530 Subject: [PATCH 23/23] test by merging with forked master --- .github/workflows/benchmarks.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 1b1636af9..bff8936b0 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -4,9 +4,6 @@ on: push: branches: - master - pull_request: - branches: - - master schedule: - cron: "0 12 * * *" @@ -83,14 +80,5 @@ jobs: name: Tensorflow-IO Benchmarks tool: 'pytest' output-file-path: benchmark.json - # github-token: ${{ secrets.GITHUB_TOKEN }} - auto-push: false - - name: Push benchmark result - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - git switch - - git config user.name "${GITHUB_ACTOR}" - git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" - git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git - git push origin gh-pages \ No newline at end of file + github-token: ${{ secrets.GITHUB_TOKEN }} + auto-push: true \ No newline at end of file