simple-icons/.github/workflows/release.yml

17 lines
488 B
YAML
Raw Normal View History

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