Skip to content

Commit

Permalink
docs: added on conventional-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Pritish Budhiraja committed Apr 23, 2024
1 parent 2e69ad9 commit 7de7223
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/conventional-commit-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,11 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: gh --repo ${{ github.event.repository.full_name }} pr edit --remove-label 'S-conventions-not-followed' ${{ github.event.pull_request.number }}

- name: Check for label
if: ${{ github.event.action == 'labeled' }}
run: echo "Label 'your-desired-label' added."

- name: Handle other cases
if: ${{ github.event.action != 'labeled' }}
run: echo "Error - Please add label to your Pull Request."

0 comments on commit 7de7223

Please sign in to comment.