From 1abeaf0ecf870fe14cb31e3c660b7849ba149856 Mon Sep 17 00:00:00 2001 From: Alex Arslan Date: Tue, 2 Jul 2024 09:42:53 -0700 Subject: [PATCH] Add dependabot and update actions/checkout to v4 (#678) * Add dependabot and update actions/checkout to v4 * Fix permissions for reviewdog --- .github/dependabot.yml | 6 ++++++ .github/workflows/blue_style_formatter.yml | 9 ++++++--- .github/workflows/update_apis.yml | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..76691c7e9 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" # Location of package manifests + schedule: + interval: "weekly" diff --git a/.github/workflows/blue_style_formatter.yml b/.github/workflows/blue_style_formatter.yml index 06a56616a..954312365 100644 --- a/.github/workflows/blue_style_formatter.yml +++ b/.github/workflows/blue_style_formatter.yml @@ -1,13 +1,16 @@ name: Format suggestions - on: pull_request: - +permissions: + contents: read + checks: write + issues: write + pull-requests: write jobs: format: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@latest with: version: 1 diff --git a/.github/workflows/update_apis.yml b/.github/workflows/update_apis.yml index 4ca180d9e..2e2fd1051 100644 --- a/.github/workflows/update_apis.yml +++ b/.github/workflows/update_apis.yml @@ -13,7 +13,7 @@ jobs: julia-arch: [x86] os: [ubuntu-latest] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@latest with: version: ${{ matrix.julia-version }}