mirror of
https://github.com/facebook/rocksdb.git
synced 2026-10-27 20:33:15 +03:00
Summary: Followed instruction per https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#defining-access-for-the-github_token-scopes It turns out that we did not need any of these except `Metadata: read`. Before ``` GITHUB_TOKEN Permissions Actions: write Attestations: write Checks: write Contents: write Deployments: write Discussions: write Issues: write Metadata: read Packages: write Pages: write PullRequests: write RepositoryProjects: write SecurityEvents: write Statuses: write ``` After ``` GITHUB_TOKEN Permissions Metadata: read ``` Pull Request resolved: https://github.com/facebook/rocksdb/pull/12973 Test Plan: GitHub Actions triggered by this PR Reviewed By: cbi42 Differential Revision: D61812651 Pulled By: jaykorean fbshipit-source-id: 4413756c93f503e8b2fb77eb8b684ef9e6a6c13d
16 lines
538 B
YAML
16 lines
538 B
YAML
name: facebook/rocksdb/benchmark-linux
|
|
on: workflow_dispatch
|
|
permissions: {}
|
|
# FIXME: Disabled temporarily
|
|
# schedule:
|
|
# - cron: 7 */2 * * * # At minute 7 past every 2nd hour
|
|
jobs:
|
|
benchmark-linux:
|
|
if: ${{ github.repository_owner == 'facebook' }}
|
|
runs-on: ubuntu-latest # FIXME: change this back to self-hosted when ready
|
|
steps:
|
|
- uses: actions/checkout@v4.1.0
|
|
- uses: "./.github/actions/build-for-benchmarks"
|
|
- uses: "./.github/actions/perform-benchmarks"
|
|
- uses: "./.github/actions/post-benchmarks"
|