From 4611d58702ae19d9a5a792fdb23fff5f0fc07e1a Mon Sep 17 00:00:00 2001 From: Stephan Date: Thu, 16 Dec 2021 13:48:06 +0100 Subject: [PATCH] fix --- .github/workflows/assign-to-project.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/assign-to-project.yml b/.github/workflows/assign-to-project.yml index 837d4aa..533f6fa 100644 --- a/.github/workflows/assign-to-project.yml +++ b/.github/workflows/assign-to-project.yml @@ -13,10 +13,8 @@ on: # FIXME how can I prevent a user from creating a PR and stealing my token? # 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 -# curl -H "Accept: application/vnd.github.v3+json" -H "Authorization: token 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" https://api.github.com/projects/1/columns?owner=zpqrtbnk&repo=test-repo - -# curl -H "Accept: application/vnd.github.v3+json" -H "Authorization: token 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" https://api.github.com/projects/1/columns?owner=zpqrtbnk-alt&repo=test-repo-alt -# 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 +# curl -H "Accept: application/vnd.github.v3+json" -H "Authorization: token ghp_..." https://api.github.com/projects/1/columns?owner=zpqrtbnk&repo=test-repo +# curl -H "Accept: application/vnd.github.v3+json" -H "Authorization: token ghp_..." https://api.github.com/projects/1/columns?owner=zpqrtbnk-alt&repo=test-repo-alt jobs: assign: