From b0efc154458e5b520977006fe80b1fc581b22365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Thu, 25 Jan 2024 13:20:38 +0100 Subject: [PATCH] Change: Use GitHub environment for releases This allows for showing a progress bar during the workflow run and also most important to secure the workflow even more. For example an environment can restrict the branch from where is workflow may be run. --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b5f8a4c..920ce4b0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,6 +20,9 @@ jobs: release: name: Actions runs-on: 'ubuntu-latest' + environment: + name: release + url: https://github.com/greenbone/actions/releases steps: - uses: actions/checkout@v4 with: