From 7c3f0e082205d8244f026b6339a6f5fc5d034fd5 Mon Sep 17 00:00:00 2001 From: Sebastian Becker Date: Thu, 5 May 2022 13:59:31 +0200 Subject: [PATCH] Replace public token with one-time token (#23) Signed-off-by: Sebastian Becker --- .github/workflows/build-and-test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 6c07f15f..b5caa3a4 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -34,8 +34,8 @@ jobs: servers: | [{ "id": "github", - "username": "cs-minion", - "password": "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" + "username": "${{ github.actor }}", + "password": "${{ secrets.GITHUB_TOKEN }}" }] - name: Build with Maven run: mvn install -Dskip.tests --batch-mode --update-snapshots --no-transfer-progress