From fff30aeda58d460004c192f0fc82b6d76a5cd42c Mon Sep 17 00:00:00 2001 From: Katerina Koukiou Date: Mon, 20 Nov 2023 14:08:10 +0100 Subject: [PATCH] workflows: Drop COCKPITUOUS_TOKEN from trigger-webui.yml cockpit-project/bots#5569 changed the allowlist from a GitHub team to a hardcoded Python list, so we don't need the cockpituous token privilege with its `read:org` any more. --- .github/workflows/trigger-webui.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/trigger-webui.yml b/.github/workflows/trigger-webui.yml index 492d648654c..ea59913456b 100644 --- a/.github/workflows/trigger-webui.yml +++ b/.github/workflows/trigger-webui.yml @@ -59,5 +59,5 @@ jobs: run: | git clone --depth=1 https://github.com/cockpit-project/bots mkdir -p ~/.config/cockpit-dev - echo '${{ secrets.COCKPITUOUS_TOKEN }}' > ~/.config/cockpit-dev/github-token + echo '${{ secrets.GITHUB_TOKEN }}' > ~/.config/cockpit-dev/github-token bots/tests-trigger --repo ${{ github.repository }} ${{ github.event.number }} fedora-rawhide-boot/anaconda-pr-${{ github.event.number }}@rhinstaller/anaconda-webui