diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 0d198cb..fdddaac 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -4,6 +4,9 @@ on: pull_request_target: types: [opened, edited, synchronize] +permissions: + pull-requests: write + concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number }} cancel-in-progress: true diff --git a/.github/workflows/sync-client.yml b/.github/workflows/sync-client.yml index fe3ed01..e1770dd 100644 --- a/.github/workflows/sync-client.yml +++ b/.github/workflows/sync-client.yml @@ -4,6 +4,9 @@ on: push: branches: [main] +permissions: + contents: read + jobs: sync-client: runs-on: ubuntu-latest