diff --git a/.github/workflows/draft-release.yaml b/.github/workflows/create-release.yaml similarity index 92% rename from .github/workflows/draft-release.yaml rename to .github/workflows/create-release.yaml index 10c6f4b..7c4b7ea 100644 --- a/.github/workflows/draft-release.yaml +++ b/.github/workflows/create-release.yaml @@ -10,6 +10,9 @@ jobs: create_release: name: Create Release runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write steps: - name: Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/validate-pr-title.yaml b/.github/workflows/validate-pr-title.yaml index 15ab72c..fc9f26d 100644 --- a/.github/workflows/validate-pr-title.yaml +++ b/.github/workflows/validate-pr-title.yaml @@ -12,10 +12,12 @@ on: jobs: validate-pr-title: runs-on: ubuntu-latest + permissions: + pull-requests: read + statuses: write steps: - - uses: amannn/action-semantic-pull-request@v5.4.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - requireScope: false \ No newline at end of file + requireScope: false