From 0c5d40736c5b499a6960f55a30d5facf454a91de Mon Sep 17 00:00:00 2001 From: Sergejs Kostjucenko Date: Tue, 23 Aug 2022 16:48:17 +0300 Subject: [PATCH] pin gha versions and add dependabot --- .github/dependabot.yml | 6 ++++++ .github/workflows/book.yml | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..aaf1019 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: '/' + schedule: + interval: daily diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index a3bf5ee..959303f 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -12,9 +12,9 @@ jobs: container: image: michaelfbryan/mdbook-docker-image steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v3 - run: mdbook build - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: book path: ./book @@ -24,11 +24,11 @@ jobs: needs: build-book runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 with: name: book path: ./book - - uses: peaceiris/actions-gh-pages@v3 + - uses: peaceiris/actions-gh-pages@068dc23d9710f1ba62e86896f84735d869951305 # v3.8.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./book