-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into npm-workspaces
- Loading branch information
Showing
4 changed files
with
17 additions
and
5 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,20 +1,26 @@ | ||
name: Automatically create patch release every 2 weeks | ||
on: | ||
schedule: | ||
# Run every Friday right before midnight | ||
- cron: '59 23 * * 5' | ||
workflow_dispatch: | ||
jobs: | ||
create_patch_release: | ||
name: Create release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Determine if we skip cancel checks | ||
id: skip-checks | ||
shell: bash | ||
# Skip checks if we are not a scheduled run | ||
run: echo value=$(test ${{ github.event_name }} != schedule && echo true || echo false) >> "$GITHUB_OUTPUT" | ||
|
||
- name: Create release | ||
uses: dequelabs/axe-api-team-public/.github/actions/auto-patch-release-v1@main | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
project_token: ${{ secrets.GH_PROJECT_TOKEN }} | ||
skip_checks: ${{ steps.skip-checks.outputs.value }} | ||
slack_webhook: ${{ secrets.SLACK_WEBHOOK }} | ||
odd_release: 'true' | ||
release-command: bash .github/scripts/prepare_release.sh | ||
version-json: lerna.json | ||
release-branch: master | ||
default-branch: develop |
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
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
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