Skip to content

Commit

Permalink
Change: Use GitHub environment for releases
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bjoernricks authored and greenbonebot committed Jan 25, 2024
1 parent fe91799 commit b0efc15
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b0efc15

Please sign in to comment.