From 5d721c7a3383f46c1e6ddc3c83c1f0e8b167a306 Mon Sep 17 00:00:00 2001 From: Guus van der Meer Date: Mon, 25 Dec 2023 02:50:40 +0100 Subject: [PATCH] Last fix for the block rules! (#10561) --- .github/workflows/block_rules.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/block_rules.yml b/.github/workflows/block_rules.yml index 1e5345e7..78f9b95d 100644 --- a/.github/workflows/block_rules.yml +++ b/.github/workflows/block_rules.yml @@ -11,10 +11,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: 20 @@ -27,12 +27,8 @@ jobs: - name: Run Prettier run: npx prettier --write ./src/rules.json - - name: Check for changes - id: git-diff - run: echo ::set-output name=files-changed::$(git diff --name-only) - - name: Create pull request - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@v5 with: token: ${{ secrets.GITHUB_TOKEN }} commit-message: Update block rules for Manifest V3 @@ -41,6 +37,4 @@ jobs: add-paths: | src/rules.json body: | - This pull request updates the block rules based on the latest changes. - Files changed: - ${{ steps.git-diff.outputs.files-changed }} + This pull request updates the manifest V3 block rules.