Skip to content

Commit

Permalink
Update release action with permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
PlugFox committed Feb 23, 2025
1 parent 227120e commit 0dfcc5c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
tags:
- "v[0-9]+.[0-9]+.[0-9]+" # v1.2.3

permissions:
contents: write # ДАЁТ ПРАВА на создание релизов и пуш тегов
actions: read # Разрешает читать workflows (по умолчанию)
checks: write # Позволяет записывать статусы проверок (необязательно, но полезно)

jobs:
release:
name: Create GitHub Release ${{ github.ref_name }}
Expand Down

0 comments on commit 0dfcc5c

Please sign in to comment.