Skip to content

Commit

Permalink
ci: run update axe-core nightly (dequelabs#847)
Browse files Browse the repository at this point in the history
No QA required
  • Loading branch information
AdnoC authored Oct 5, 2023
1 parent 790824d commit 62fd241
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/update-axe-core.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Update axe-core

on: [workflow_dispatch]
on:
schedule:
# Run every night at midnight
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
build:
Expand All @@ -21,6 +25,10 @@ jobs:
CommitType="feat"
elif [ "${{ steps.update.outputs.major_version_updated }}" == "true" ]; then
CommitType="feat"
else
echo "No axe-core update available. Cancelling."
gh run cancel ${{ github.run_id }};
gh run watch ${{ github.run_id }};
fi
echo "type=$CommitType" >>"$GITHUB_OUTPUT"
- name: Open PR
Expand Down

0 comments on commit 62fd241

Please sign in to comment.