Skip to content

Commit

Permalink
ci: auto-patch-release from public repo (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdnoC authored and michael-siek committed Jan 11, 2024
1 parent 3966a62 commit e0dcdb5
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/auto-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,19 @@ name: Automatically create patch release every 2 weeks
on:
schedule:
# Run every Friday right before midnight
- cron: '30 16 * * *'
- cron: '59 23 * * 5'
jobs:
create_patch_release:
uses: dequelabs/axe-api-team/.github/workflows/auto-patch-release.yml@main
secrets: inherit
with:
release-command: bash .github/scripts/prepare_release.sh
release-branch: master
default-branch: develop
name: Create release
runs-on: ubuntu-latest
steps:
- 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 }}
slack_webhook: ${{ secrets.SLACK_WEBHOOK }}
odd_release: 'true'
release-command: bash .github/scripts/prepare_release.sh
release-branch: master
default-branch: develop

0 comments on commit e0dcdb5

Please sign in to comment.