Create Release If Needed #228
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
name: Create Release If Needed | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 10 * * *' | |
concurrency: | |
group: ${{ github.workflow }} | |
jobs: | |
create: | |
name: Create Release If Needed | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ github.token }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- shell: bash | |
run: | | |
if [[ $(Tools/version.sh status) == "dirty" ]]; then | |
gh workflow run release-now.yml | |
fi |