autorelease #812
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: autorelease | |
on: | |
workflow_dispatch: {} | |
schedule: | |
# check at 11am every day | |
- cron: '0 11 * * *' | |
jobs: | |
autorelease: | |
name: autorelease | |
runs-on: ubuntu-latest | |
steps: | |
- name: Generate token | |
id: token | |
uses: tibdex/github-app-token@v1 | |
with: | |
app_id: ${{ secrets.MELLBOT_APP_ID }} | |
private_key: ${{ secrets.MELLBOT_PK }} | |
- name: autorelease | |
uses: markelliot/autorelease@v2 | |
with: | |
github-token: ${{ steps.token.outputs.token }} | |
# maximum number of days since last release | |
max-days: 7 |