ci: пытается исправить pr-title.yml и release.yml

This commit is contained in:
Maxim Slipenko 2023-09-25 15:45:55 +03:00
parent eff7433ce7
commit 74eaf040dd
2 changed files with 7 additions and 2 deletions

View File

@ -9,6 +9,7 @@ on:
- synchronize - synchronize
permissions: permissions:
contents: write
pull-requests: write pull-requests: write
jobs: jobs:
@ -18,7 +19,7 @@ jobs:
steps: steps:
- uses: amannn/action-semantic-pull-request@v5 - uses: amannn/action-semantic-pull-request@v5
env: env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
# Configure which types are allowed. # Configure which types are allowed.
# Default: https://github.com/commitizen/conventional-commit-types # Default: https://github.com/commitizen/conventional-commit-types

View File

@ -5,6 +5,10 @@ on:
branches: branches:
- main - main
permissions:
contents: write
pull-requests: write
jobs: jobs:
release: release:
name: release name: release
@ -29,4 +33,4 @@ jobs:
@semantic-release/git @semantic-release/git
@semantic-release/changelog @semantic-release/changelog
env: env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}