diff --git a/.github/workflows/metrics-embed.yml b/.github/workflows/metrics-embed.yml index 6e7f98c..07ce19d 100644 --- a/.github/workflows/metrics-embed.yml +++ b/.github/workflows/metrics-embed.yml @@ -11,6 +11,8 @@ on: jobs: metrics: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout repository uses: actions/checkout@v2 @@ -19,7 +21,7 @@ jobs: uses: lowlighter/metrics@latest with: template: repository - filename: metrics.repository.svg + filename: metrics.repository2.svg token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }} user: mcrewcow repo: RGC_Dnmt3a_pONC2d_paper