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

Infrastructure: Use w3cGRUNTBOT for authoring PRs and deploying to the WAI website #3119

Merged
merged 2 commits into from
Sep 26, 2024
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
4 changes: 2 additions & 2 deletions .github/workflows/wai-trigger-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: |
node scripts/wai-trigger-cleanup.js
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.W3CGRUNTBOT_TOKEN }}
OWNER: ${{ github.repository_owner }}
# reference github.event.ref for branch deletion
APG_BRANCH: ${{ github.event.ref }}
Expand All @@ -50,7 +50,7 @@ jobs:
run: |
node scripts/wai-trigger-cleanup.js
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.W3CGRUNTBOT_TOKEN }}
OWNER: ${{ github.repository_owner }}
# reference github.head_ref for pull request
APG_BRANCH: ${{ github.head_ref }}
2 changes: 1 addition & 1 deletion .github/workflows/wai-trigger-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Trigger wai-aria-practices update
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GH_TOKEN }}
github-token: ${{ secrets.W3CGRUNTBOT_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wai-trigger-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
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 }}
github-token: ${{ secrets.W3CGRUNTBOT_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
Expand Down