diff --git a/.github/workflows/update-db.yml b/.github/workflows/update-db.yml index 734380857f2c..aae9bc108f45 100644 --- a/.github/workflows/update-db.yml +++ b/.github/workflows/update-db.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: + permissions: + contents: read runs-on: ubuntu-latest steps: - name: Checkout @@ -68,10 +63,12 @@ jobs: call-jekyll-build: needs: update + permissions: + contents: read uses: LizardByte/LizardByte.github.io/.github/workflows/jekyll-build.yml@master secrets: GH_BOT_EMAIL: ${{ secrets.GH_BOT_EMAIL }} - GH_BOT_NAME: ${{ secrets.GH_BOT_NAME }} + GH_BOT_NAME: ${{ vars.GH_BOT_NAME }} GH_BOT_TOKEN: ${{ secrets.GH_BOT_TOKEN }} with: site_artifact: 'update'