File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Sets a rule to "approved" in the wcag-act-rules repository in a given branch.
1+ # Sets a rule to "approved" in the wcag-act-rules repository in a given branch.
22name : Set a rule to approved
33on :
44 workflow_dispatch :
@@ -14,12 +14,11 @@ jobs:
1414 dispatch :
1515 runs-on : ubuntu-latest
1616 steps :
17+ - uses : actions/checkout@v3
1718 - name : Check user permission
1819 uses : 74th/workflow-permission-action@1.0.0
1920 with :
2021 listfile : .github/workflows/chair-accounts.md
21-
22- - uses : actions/checkout@v3
2322 - uses : actions/setup-node@v3
2423 with :
2524 node-version : ' 16'
3938 git config --global user.name "${{ secrets.WAI_GIT_NAME }}"
4039 git config --global user.email "${{ secrets.WAI_GIT_EMAIL }}"
4140 - name : Set rule to approved
42- run : npx zx .github/scripts/wai-build .mjs --ruleId ${{ github.event.inputs.ruleId }}" --branch ${{ github.event.inputs.branch }}"
41+ run : npx zx .github/scripts/approve-rule .mjs --ruleId " ${{ github.event.inputs.ruleId }}" --branch " ${{ github.event.inputs.branch }}"
You can’t perform that action at this time.
0 commit comments