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

Only crawl specs, don't create analyses reports #388

Merged
merged 1 commit into from
Oct 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 22 additions & 21 deletions .github/workflows/update-ed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,41 +7,42 @@ jobs:
update:
runs-on: ubuntu-18.04
steps:
- name: Checkout reffy
uses: actions/checkout@v2
with:
repository: w3c/reffy
ref: main
fetch-depth: 1
path: reffy
- name: Setup node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install pandoc
run: sudo apt-get install pandoc
- name: Setup Reffy
run: |
npm ci
working-directory: reffy
node-version: 14

- name: Install reffy
run: npm install reffy

- name: Run Reffy's crawler
run: npm run ed
working-directory: reffy
run: |
mkdir report
node_modules/.bin/reffy --output report

- name: Checkout webref
uses: actions/checkout@v2
with:
path: webref
- name: Copy reports
run: rsync -av --exclude=README.md reffy/reports/ webref/

- name: Copy report
run: rsync -av report/ webref/

- name: Push updates to git
run: |
git config user.name "reffy-bot"
git config user.email "<>"
git remote set-url --push origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git add -A
REFFY_SHA=$(git --git-dir=../reffy/.git rev-parse HEAD)
REFFY_SHA=$(../node_modules/.bin/reffy --version)
git commit -m "Update of ED report from new reffy run" -m "Using reffy commit $REFFY_SHA."
#npm version patch
git push origin HEAD:main
#git push origin --tags
working-directory: webref

- name: Notify webref-analysis that it should update itself
run: |
curl -X POST \
-H "Authorization: Bearer ${{secrets.WEBREF_ANALYSIS_TOKEN}}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/w3c/webref-analysis/actions/workflows/analyze.yml/dispatches \
-d '{"ref": "main"}'
35 changes: 14 additions & 21 deletions .github/workflows/update-tr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,41 +7,34 @@ jobs:
update:
runs-on: ubuntu-18.04
steps:
- name: Checkout reffy
uses: actions/checkout@v2
with:
repository: w3c/reffy
ref: main
fetch-depth: 1
path: reffy
- name: Setup node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install pandoc
run: sudo apt-get install pandoc
- name: Setup Reffy
run: |
npm ci
working-directory: reffy
node-version: 14

- name: Install reffy
run: npm install reffy

- name: Run Reffy's crawler
run: npm run tr
working-directory: reffy
run: |
mkdir report
node_modules/.bin/reffy --release --output report

- name: Checkout webref
uses: actions/checkout@v2
with:
path: webref
- name: Copy reports
run: rsync -av --exclude=README.md reffy/reports/ webref/

- name: Copy report
run: rsync -av report/ webref/

- name: Push updates to git
run: |
git config user.name "reffy-bot"
git config user.email "<>"
git remote set-url --push origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git add -A
REFFY_SHA=$(git --git-dir=../reffy/.git rev-parse HEAD)
REFFY_SHA=$(../node_modules/.bin/reffy --version)
git commit -m "Update of TR report from new reffy run" -m "Using reffy commit $REFFY_SHA."
#npm version patch
git push origin HEAD:main
#git push origin --tags
working-directory: webref
4 changes: 0 additions & 4 deletions ed/diff.md

This file was deleted.

4 changes: 0 additions & 4 deletions ed/diffnew.md

This file was deleted.

Loading