diff --git a/.github/workflows/nightly-candidate.yml b/.github/workflows/nightly-candidate.yml index 28a2d3405b8..bfc15d1b5ce 100644 --- a/.github/workflows/nightly-candidate.yml +++ b/.github/workflows/nightly-candidate.yml @@ -1,5 +1,6 @@ name: facebook/rocksdb/nightly on: workflow_dispatch +permissions: {} jobs: # These jobs would be in nightly but are failing or otherwise broken for # some reason. diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index c075b5298de..0bf34363904 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -3,6 +3,7 @@ on: schedule: - cron: 0 9 * * * workflow_dispatch: +permissions: {} jobs: build-format-compatible: if: ${{ github.repository_owner == 'facebook' }} diff --git a/.github/workflows/pr-jobs-candidate.yml b/.github/workflows/pr-jobs-candidate.yml index 5c8e9684221..c6e280fdffe 100644 --- a/.github/workflows/pr-jobs-candidate.yml +++ b/.github/workflows/pr-jobs-candidate.yml @@ -1,5 +1,6 @@ name: facebook/rocksdb/pr-jobs-candidate on: workflow_dispatch +permissions: {} jobs: # These jobs would be in pr-jobs but are failing or otherwise broken for # some reason. diff --git a/.github/workflows/pr-jobs.yml b/.github/workflows/pr-jobs.yml index 627b4dfc030..9d89a111e5a 100644 --- a/.github/workflows/pr-jobs.yml +++ b/.github/workflows/pr-jobs.yml @@ -1,5 +1,6 @@ name: facebook/rocksdb/pr-jobs on: [push, pull_request] +permissions: {} jobs: # NOTE: multiple workflows would be recommended, but the current GHA UI in # PRs doesn't make it clear when there's an overall error with a workflow,