diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c2b03172..72b33e3f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,13 +11,17 @@ on: concurrency: group: "pages" cancel-in-progress: true - + +# Set GITHUB_TOKEN scopes +permissions: write-all + # Sets global environtment variables env: USER: ${{ github.actor }} REPO: ${{ github.repository }} OWNER: ${{ github.repository_owner }} - + ACTOR: ${{ github.triggering_actor }} + jobs: # Build job github-pages: @@ -37,10 +41,11 @@ jobs: with: pre_build_commands: 'make build' token: ${{ secrets.JEKYLL_GITHUB_TOKEN }} + owner: ${{ secrets.JEKYLL_GITHUB_OWNER }} - name: 💎 Build on Windows if: runner.os == 'Windows' uses: eq19/maps@v1 with: dotnet-version: '3.1.x' - token: ${{ secrets.JEKYLL_GITHUB_TOKEN }} + owner: ${{ secrets.JEKYLL_GITHUB_OWNER }}