Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last fix for the block rules! #10561

Merged
merged 9 commits into from
Dec 25, 2023
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.
Loading