Skip to content
Snippets Groups Projects
Commit 42ace774 authored by Austin Anderson's avatar Austin Anderson
Browse files

Fix permissions

parent 56a316b9
Branches
No related tags found
No related merge requests found
...@@ -21,12 +21,6 @@ on: ...@@ -21,12 +21,6 @@ on:
- cron: '*/5 * * * *' - cron: '*/5 * * * *'
workflow_dispatch: workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs: jobs:
dashboard: dashboard:
if: github.repository == 'tensorflow/build' # Don't do this in forks if: github.repository == 'tensorflow/build' # Don't do this in forks
...@@ -36,9 +30,8 @@ jobs: ...@@ -36,9 +30,8 @@ jobs:
name: github-pages name: github-pages
url: ${{ steps.deployment.outputs.page_url }} url: ${{ steps.deployment.outputs.page_url }}
permissions: permissions:
# Needed to upload the results to code-scanning dashboard. contents: read
security-events: write pages: write
# Used to receive a badge.
id-token: write id-token: write
steps: steps:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment