-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into pkra-patch-1
- Loading branch information
Showing
89 changed files
with
51,558 additions
and
785 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Set update schedule for GitHub Actions | ||
|
||
version: 2 | ||
updates: | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
open-pull-requests-limit: 10 | ||
commit-message: | ||
prefix: "chore: dependabot" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Set update schedule for GitHub Actions | ||
|
||
version: 2 | ||
updates: | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
open-pull-requests-limit: 10 | ||
commit-message: | ||
prefix: "chore: dependabot" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
spec:aria: | ||
- changed-files: | ||
- any-glob-to-any-file: 'index.html' | ||
|
||
spec:accname: | ||
- changed-files: | ||
- any-glob-to-any-file: 'accname/**' | ||
|
||
spec:core-aam: | ||
- changed-files: | ||
- any-glob-to-any-file: 'core-aam/**' | ||
|
||
spec:dpub-aam: | ||
- changed-files: | ||
- any-glob-to-any-file: 'dpub-aam/**' | ||
|
||
spec:dpub-aria: | ||
- changed-files: | ||
- any-glob-to-any-file: 'dpub-aria/**' | ||
|
||
spec:graphics-aam: | ||
- changed-files: | ||
- any-glob-to-any-file: 'graphics-aam/**' | ||
|
||
spec:graphics-aria: | ||
- changed-files: | ||
- any-glob-to-any-file: 'graphics-aria/**' | ||
|
||
spec:html-aam: | ||
- changed-files: | ||
- any-glob-to-any-file: 'html-aam/**' | ||
|
||
spec:svg-aam: | ||
- changed-files: | ||
- any-glob-to-any-file: 'svg-aam/**' | ||
|
||
spec:mathml-aam: | ||
- changed-files: | ||
- any-glob-to-any-file: 'mathml-aam/**' | ||
|
||
spec:pdf-aam: | ||
- changed-files: | ||
- any-glob-to-any-file: 'pdf-aam/**' |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: accname ED | ||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
paths: | ||
- 'common/**' | ||
- 'accname/**' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
dispatch: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Dispatch to accname repo | ||
run: | | ||
curl -L -X POST \ | ||
-H "Accept: application/vnd.github+json" \ | ||
-H "Authorization: Bearer ${{secrets.W3CGRUNTBOT_TOKEN}}" \ | ||
-H "X-GitHub-Api-Version: 2022-11-28" \ | ||
https://api.github.com/repos/w3c/accname/actions/workflows/build-from-monorepo.yaml/dispatches \ | ||
-d '{"ref":"gh-pages"}' | ||
update-accname: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout monorepo | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: main | ||
path: aria | ||
sparse-checkout: | | ||
accname | ||
common | ||
- name: Copy common | ||
run: | | ||
mkdir aria/accname/common | ||
cp -r aria/common/** aria/accname/common/ | ||
sed -i 's|\.\./common|common|g' aria/accname/index.html | ||
- uses: w3c/spec-prod@v2 | ||
with: | ||
TOOLCHAIN: respec | ||
SOURCE: aria/accname/index.html | ||
DESTINATION: aria/accname/index.html | ||
W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN_ACCNAME }} | ||
W3C_WG_DECISION_URL: https://lists.w3.org/Archives/Public/public-aria-admin/2018Sep/0011.html | ||
W3C_BUILD_OVERRIDE: | | ||
specStatus: WD | ||
ARTIFACT_NAME: accname | ||
- name: Checkout accname repo | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: w3c/accname | ||
ref: gh-pages | ||
path: accname | ||
token: ${{ secrets.W3CGRUNTBOT_TOKEN }} | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: accname | ||
- name: Copy files | ||
run: | | ||
cp -r aria.gh/aria/accname/** accname/ | ||
- name: Push new files to child repo | ||
run: | | ||
git config user.name "github-actions[bot]" | ||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
git add . | ||
git commit -m "ED update" | ||
git push origin gh-pages | ||
working-directory: accname |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: aria ED | ||
on: | ||
push: | ||
branches: [main] | ||
paths: | ||
- index.html | ||
workflow_dispatch: | ||
jobs: | ||
main: | ||
name: ARIA ED | ||
runs-on: ubuntu-20.04 | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: w3c/spec-prod@v2 | ||
with: | ||
GH_PAGES_BRANCH: gh-pages |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
name: core-aam ED | ||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
paths: | ||
- 'common/**' | ||
- 'core-aam/**' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
dispatch: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Dispatch to core-aam repo | ||
run: | | ||
curl -L -X POST \ | ||
-H "Accept: application/vnd.github+json" \ | ||
-H "Authorization: Bearer ${{secrets.W3CGRUNTBOT_TOKEN}}" \ | ||
-H "X-GitHub-Api-Version: 2022-11-28" \ | ||
https://api.github.com/repos/w3c/core-aam/actions/workflows/build-from-monorepo.yaml/dispatches \ | ||
-d '{"ref":"gh-pages"}' | ||
update-core-aam: | ||
name: Update Editors Draft and Publish to TR | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout monorepo | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: main | ||
path: aria | ||
sparse-checkout: | | ||
core-aam | ||
common | ||
- name: Copy common | ||
run: | | ||
mkdir aria/core-aam/common | ||
cp -r aria/common/** aria/core-aam/common/ | ||
sed -i 's|\.\./common|common|g' aria/core-aam/index.html | ||
- uses: w3c/spec-prod@v2 | ||
with: | ||
TOOLCHAIN: respec | ||
SOURCE: aria/core-aam/index.html | ||
DESTINATION: aria/core-aam/index.html | ||
W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN_CORE_AAM }} | ||
W3C_WG_DECISION_URL: https://lists.w3.org/Archives/Public/public-aria-admin/2018Sep/0011.html | ||
W3C_BUILD_OVERRIDE: | | ||
specStatus: CRD | ||
ARTIFACT_NAME: core-aam | ||
- name: Checkout core-aam repo | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: w3c/core-aam | ||
ref: gh-pages | ||
path: core-aam | ||
token: ${{ secrets.W3CGRUNTBOT_TOKEN }} | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: core-aam | ||
- name: Copy files | ||
run: | | ||
cp -r aria.gh/aria/core-aam/** core-aam/ | ||
ls -r core-aam | ||
- name: Push new files to child repo | ||
run: | | ||
git config user.name "github-actions[bot]" | ||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
git add . | ||
git commit -m "ED update" | ||
git push origin gh-pages | ||
working-directory: core-aam | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: dpub-aam ED | ||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
paths: | ||
- 'common/**' | ||
- 'dpub-aam/**' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
dispatch: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Dispatch to dpub-aam repo | ||
run: | | ||
curl -L -X POST \ | ||
-H "Accept: application/vnd.github+json" \ | ||
-H "Authorization: Bearer ${{secrets.W3CGRUNTBOT_TOKEN}}" \ | ||
-H "X-GitHub-Api-Version: 2022-11-28" \ | ||
https://api.github.com/repos/w3c/dpub-aam/actions/workflows/build-from-monorepo.yaml/dispatches \ | ||
-d '{"ref":"gh-pages"}' | ||
update-dpub-aam: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout monorepo | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: main | ||
path: aria | ||
sparse-checkout: | | ||
dpub-aam | ||
common | ||
- name: Copy common | ||
run: | | ||
mkdir aria/dpub-aam/common | ||
cp -r aria/common/** aria/dpub-aam/common/ | ||
sed -i 's|\.\./common|common|g' aria/dpub-aam/index.html | ||
- uses: w3c/spec-prod@v2 | ||
with: | ||
TOOLCHAIN: respec | ||
SOURCE: aria/dpub-aam/index.html | ||
DESTINATION: aria/dpub-aam/index.html | ||
W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN_DPUB_AAM }} | ||
W3C_WG_DECISION_URL: https://lists.w3.org/Archives/Public/public-aria-admin/2018Sep/0011.html | ||
W3C_BUILD_OVERRIDE: | | ||
specStatus: CRD | ||
ARTIFACT_NAME: dpub-aam | ||
- name: Checkout dpub-aam repo | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: w3c/dpub-aam | ||
ref: gh-pages | ||
path: dpub-aam | ||
token: ${{ secrets.W3CGRUNTBOT_TOKEN }} | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: dpub-aam | ||
- name: Copy files | ||
run: | | ||
cp -r aria.gh/aria/dpub-aam/** dpub-aam/ | ||
- name: Push new files to child repo | ||
run: | | ||
git config user.name "github-actions[bot]" | ||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
git add . | ||
git commit -m "ED update" | ||
git push origin gh-pages | ||
working-directory: dpub-aam |
Oops, something went wrong.