Skip to content

Bump textlint-rule-preset-ja-spacing from 2.3.1 to 2.4.1 #107

Bump textlint-rule-preset-ja-spacing from 2.3.1 to 2.4.1

Bump textlint-rule-preset-ja-spacing from 2.3.1 to 2.4.1 #107

Workflow file for this run

name: CI
on:
workflow_call:
pull_request:
jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run actionlint
run: |
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
./actionlint -color
npm-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# check by npm
- name: Cache node_modules
uses: actions/setup-node@v4
with:
node-version: latest
cache: npm
- name: Install npm
run: npm ci
- name: Run textlint
run: npm run lint:textlint
- name: Run secretlint
run: npm run lint:secret
dependabot:
runs-on: ubuntu-latest
needs: [actionlint, npm-lint]
if: github.actor == 'dependabot[bot]'
permissions:
contents: write
pull-requests: write
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Merge PR
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}