Skip to content

Commit

Permalink
fix the approve-rule action (#2105)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoFiers authored Sep 7, 2023
1 parent aa622c3 commit faef9ee
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/approve-rule.yml
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:
Expand All @@ -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'
Expand All @@ -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 }}"

0 comments on commit faef9ee

Please sign in to comment.