diff --git a/.github/workflows/update-pages.yml b/.github/workflows/update-pages.yml index fe174cb55..63311c769 100644 --- a/.github/workflows/update-pages.yml +++ b/.github/workflows/update-pages.yml @@ -1,16 +1,9 @@ --- name: Update -permissions: - contents: read +permissions: {} on: pull_request: - branches: - - master - types: - - opened - - synchronize - - reopened push: branches: - master @@ -24,6 +17,8 @@ concurrency: jobs: update_pages: + permissions: + contents: read runs-on: ubuntu-latest timeout-minutes: 60 steps: @@ -54,7 +49,7 @@ jobs: python -m pip install -r requirements.txt - name: Install npm dependencies - run: npm install --ignore scripts + run: npm install --ignore-scripts - name: Get current date id: date @@ -138,7 +133,7 @@ jobs: with: github_token: ${{ secrets.GH_BOT_TOKEN }} author_email: ${{ secrets.GH_BOT_EMAIL }} - author_name: ${{ secrets.GH_BOT_NAME }} + author_name: ${{ vars.GH_BOT_NAME }} directory: gh-pages branch: gh-pages force: false