From 1aeacfce152e162d1b0682d38865c7716963ec9d Mon Sep 17 00:00:00 2001 From: Marco Biedermann <5244986+marcobiedermann@users.noreply.github.com.> Date: Sun, 21 Apr 2024 17:27:06 +0200 Subject: [PATCH] refactor: GitHub Workflow Migrate workflows to `marcobiedermann/actions` --- .github/auto-merge.yml | 8 -------- .github/workflows/ci.yml | 10 ++-------- .github/workflows/dependabot-auto-merge.yml | 8 ++++++++ 3 files changed, 10 insertions(+), 16 deletions(-) delete mode 100644 .github/auto-merge.yml create mode 100644 .github/workflows/dependabot-auto-merge.yml diff --git a/.github/auto-merge.yml b/.github/auto-merge.yml deleted file mode 100644 index 2b3cbee..0000000 --- a/.github/auto-merge.yml +++ /dev/null @@ -1,8 +0,0 @@ -deleteBranchAfterMerge: true - -mergeMethod: rebase - -reportStatus: true - -requiredLabels: - - dependencies diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8dea079..23c0fbf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,14 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - - name: ⏬ Checkout - uses: actions/checkout@v4 - - - name: ⚙️ Setup Node.js - uses: actions/setup-node@v4 - with: - cache: 'npm' - node-version-file: '.nvmrc' + - uses: marcobiedermann/actions/.github/actions/checkout@main + - uses: marcobiedermann/actions/.github/actions/setup-node@main - name: 🔋 Install run: npm ci diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml new file mode 100644 index 0000000..aaf94df --- /dev/null +++ b/.github/workflows/dependabot-auto-merge.yml @@ -0,0 +1,8 @@ +name: Dependabot auto-merge + +on: pull_request + +jobs: + ci: + uses: marcobiedermann/actions/.github/workflows/dependabot-auto-merge.yml@main + secrets: inherit