Skip to content

Commit

Permalink
Add permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
diondokter committed Apr 8, 2024
1 parent b71cb79 commit 394c164
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
binary-size:
runs-on: ubuntu-latest
permissions: read-all
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
Expand Down Expand Up @@ -84,13 +85,14 @@ jobs:
with:
name: master-binsize
path: ./binsizes
github-token: $GITHUB_TOKEN
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: "8599189897"

- name: Run diff
if: github.ref_name != 'master'
uses: LouisBrunner/[email protected]
with:
old: ./binsizes/binsize_master.txt
new: ./binsizes/binsize_new.txt
token: $GITHUB_TOKEN
token: ${{ secrets.GITHUB_TOKEN }}
notify_issue: true

0 comments on commit 394c164

Please sign in to comment.