1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-11-26 01:00:27 +02:00

Skip release job for pull request review if pull request not contains 'release' label. (#4125)

This commit is contained in:
Álvaro Mondéjar 2020-11-24 20:26:48 +01:00 committed by GitHub
parent accdc07277
commit 9f4a056e14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,7 @@ on:
jobs: jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: (github.event_name == 'pull_request_review' && contains(github.event.pull_request.labels.*.name, 'release')) || github.event_name == 'schedule'
steps: steps:
- uses: simple-icons/release-action@master - uses: simple-icons/release-action@master
with: with: