Skip to content

Commit

Permalink
Last fix for the block rules! (#10561)
Browse files Browse the repository at this point in the history
  • Loading branch information
OhMyGuus authored Dec 25, 2023
1 parent f2aa174 commit 5d721c7
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/block_rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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.

0 comments on commit 5d721c7

Please sign in to comment.