Skip to content

Merge pull request #193 from w3c/clean-reports-1736912004 #24

Merge pull request #193 from w3c/clean-reports-1736912004

Merge pull request #193 from w3c/clean-reports-1736912004 #24

Workflow file for this run

on:
push:
paths:
- 'issue-reports/**'
workflow_dispatch:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
name: Submit issue from validate-repos to relevant github repo
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Checkout validate-repos
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Configure git
run: |
git config user.name "w3c-validate-bot"
git config user.email "<>"
git remote set-url --push origin https://x-access-token:${{ secrets.ISSUE_REPORT_GH_TOKEN }}@github.com/$GITHUB_REPOSITORY
- name: Run issue submitter script
run: node reporting/submit-issue.js
env:
GH_TOKEN: ${{ secrets.ISSUE_REPORT_GH_TOKEN }}