From b25fb52d34237024e85468d3471a74c4ea654215 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=82ngelo=20Tadeucci?= Date: Tue, 6 Jun 2023 20:11:09 -0300 Subject: [PATCH] Create dependabot.yml (#18) Co-authored-by: AngeloTadeucci --- .github/dependabot.yml | 6 ++++++ .github/workflows/prettier.yml | 8 +++++--- 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..55e09ee1 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 0e501c9b..26270f08 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -6,16 +6,18 @@ jobs: format: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v3.5.2 with: ref: ${{ github.head_ref }} - - uses: actions/setup-node@v1 + - name: Setup Node.js environment + uses: actions/setup-node@v2.5.2 with: node-version: "18.x" - run: npm ci - run: npm run prettier - name: Commit changes - uses: stefanzweifel/git-auto-commit-action@v4.1.2 + uses: stefanzweifel/git-auto-commit-action@v4.16.0 with: commit_message: Apply prettier changes branch: ${{ github.head_ref }}