-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa622c3
commit faef9ee
Showing
1 changed file
with
3 additions
and
4 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sets a rule to "approved" in the wcag-act-rules repository in a given branch. | ||
# Sets a rule to "approved" in the wcag-act-rules repository in a given branch. | ||
name: Set a rule to approved | ||
on: | ||
workflow_dispatch: | ||
|
@@ -14,12 +14,11 @@ jobs: | |
dispatch: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Check user permission | ||
uses: 74th/[email protected] | ||
with: | ||
listfile: .github/workflows/chair-accounts.md | ||
|
||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16' | ||
|
@@ -39,4 +38,4 @@ jobs: | |
git config --global user.name "${{ secrets.WAI_GIT_NAME }}" | ||
git config --global user.email "${{ secrets.WAI_GIT_EMAIL }}" | ||
- name: Set rule to approved | ||
run: npx zx .github/scripts/wai-build.mjs --ruleId ${{ github.event.inputs.ruleId }}" --branch ${{ github.event.inputs.branch }}" | ||
run: npx zx .github/scripts/approve-rule.mjs --ruleId "${{ github.event.inputs.ruleId }}" --branch "${{ github.event.inputs.branch }}" |