diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 063c3c76c9f..1aeb25b78b6 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -3,6 +3,10 @@ on: workflow_dispatch: schedule: - cron: "0 12 * * *" +permissions: + contents: read + issues: write + pull-requests: write jobs: stale: runs-on: ubuntu-latest diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 47935338fce..da2f4d77241 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,8 +2,10 @@ name: GitHub Actions CI on: push: branches: master - pull_request: [] + pull_request: merge_group: +permissions: + contents: read jobs: tests: runs-on: ubuntu-latest