2020-11-28 13:34:36 +03:00
|
|
|
name: Automated releases
|
2020-04-24 14:54:23 +03:00
|
|
|
on:
|
2020-06-16 21:49:44 +03:00
|
|
|
pull_request_review:
|
2020-07-14 21:09:04 +03:00
|
|
|
types: [submitted]
|
2020-04-24 14:54:23 +03:00
|
|
|
schedule:
|
|
|
|
# "At 00:00 on Sunday" (https://crontab.guru/once-a-week)
|
|
|
|
- cron: "0 0 * * 0"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
release:
|
|
|
|
runs-on: ubuntu-latest
|
2020-11-24 22:26:48 +03:00
|
|
|
if: (github.event_name == 'pull_request_review' && contains(github.event.pull_request.labels.*.name, 'release')) || github.event_name == 'schedule'
|
2020-04-24 14:54:23 +03:00
|
|
|
steps:
|
|
|
|
- uses: simple-icons/release-action@master
|
|
|
|
with:
|
2020-11-28 13:34:36 +03:00
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|