Infrastructure: Bump eslint from 8.52.0 to 8.57.0, eslint-plugin-jsdoc from 39.3.3 to 48.2.3, eslint-plugin-html from 6.2.0 to 8.1.1, eslint-config-prettier from 8.5.0 to 9.1.0, eslint-plugin-prettier from 4.2.1 to 5.1.3, eslint-plugin-ava from 13.2.0 to 14.0.0, and prettier from 2.7.1 to 3.2.5 #701
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger PR update for WAI-APG site | |
on: | |
pull_request_target: | |
branches-ignore: | |
- "dependabot/**" | |
paths: | |
- ".github/workflows/wai-trigger-pr.yml" | |
- ".github/workflows/regression.yml" | |
- ".github/workflows/examples.yml" | |
- "scripts/reference-tables.*" | |
- "**/*.js" | |
- "test/**" | |
- "content/**" | |
- "!content/landmarks/examples/**" | |
- "!common/**" | |
jobs: | |
create-pr-wai: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: refs/pull/${{ github.event.pull_request.number }}/head | |
- name: Trigger wai-aria-practices PR update | |
uses: actions/github-script@v6 | |
env: | |
APG_BRANCH: ${{ github.head_ref }} | |
APG_SHA: ${{ github.event.pull_request.head.sha }} | |
APG_PR_NUMBER: ${{ github.event.pull_request.number }} | |
FORK_PATH: ${{ github.event.pull_request.head.repo.fork && github.event.pull_request.head.repo.full_name }} | |
with: | |
github-token: ${{ secrets.GH_TOKEN }} | |
script: | | |
await github.rest.actions.createWorkflowDispatch({ | |
owner: context.repo.owner, | |
repo: 'wai-aria-practices', | |
workflow_id: 'pr-create.yml', | |
ref: 'main', | |
inputs: { | |
apg_branch: process.env.APG_BRANCH, | |
apg_sha: process.env.APG_SHA, | |
apg_pr_number: process.env.APG_PR_NUMBER, | |
fork_path: process.env.FORK_PATH, | |
} | |
}); |