Feat/add light theme inputs #344
Workflow file for this run
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
# This workflow will ensure all PRs are labeled so we can later create releases | |
name: PR labeling for release | |
on: | |
pull_request: | |
types: [opened, labeled, unlabeled, synchronize] | |
jobs: | |
ensure-label: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check Labels | |
uses: docker://agilepathway/pull-request-label-checker:latest | |
with: | |
one_of: "PR: Internal π ,PR: Bugfix π,PR: New Feature πΉ,PR: Dependencies π ,PR: Documentation π,PR: Icon π,PR: Breaking Changes π₯" | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Find Comment | |
if: always() | |
uses: peter-evans/find-comment@v1 | |
id: fc | |
with: | |
issue-number: ${{ github.event.pull_request.number }} | |
comment-author: "github-actions[bot]" | |
body-includes: "Your PR should include one (and only one) of the following labels" | |
- name: Delete comment | |
if: ${{ steps.fc.outputs.comment-id }} # Otherwise it fails the workflow | |
uses: jungwinter/comment@v1 | |
with: | |
type: delete | |
comment_id: ${{ steps.fc.outputs.comment-id }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create or update comment | |
if: failure() | |
uses: peter-evans/create-or-update-comment@v1 | |
with: | |
comment-id: ${{ steps.fc.outputs.comment-id }} | |
issue-number: ${{ github.event.pull_request.number }} | |
body: | | |
Your PR should include one (and only one) of the following labels: | |
- PR: Bugfix π | |
- PR: New Feature πΉ | |
- PR: Dependencies π | |
- PR: Documentation π | |
- PR: Internal π | |
- PR: Breaking Changes π₯ | |
- PR: Icon π | |
edit-mode: replace |