From b5a2f4152146a7b31d02acbacaa151c57df0388b Mon Sep 17 00:00:00 2001 From: ajohns Date: Mon, 25 Jul 2022 21:07:29 +1000 Subject: [PATCH] allow benchmarking workflow to write to master Signed-off-by: ajohns --- .github/workflows/benchmark.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/benchmark.yaml b/.github/workflows/benchmark.yaml index dabcb004c..0e341d4ed 100644 --- a/.github/workflows/benchmark.yaml +++ b/.github/workflows/benchmark.yaml @@ -84,6 +84,12 @@ jobs: ref: master path: src + # This is a PAT from an Admin user. We do this in order to be able to write to a + # protected branch (master) from this workflow. + # See https://github.community/t/how-to-push-to-protected-branches-in-a-github-action/16101/14 + # + token: "${{ secrets.GH_ACTION_TOKEN }}" + # Note failing due to # https://github.com/actions/virtual-environments/issues/675 #