Skip to content

Commit

Permalink
ci: Use full hash github action pinning (#955)
Browse files Browse the repository at this point in the history
* ci: Use full hash github action pinning

* Fix PR title validation condition in GitHub workflow
  • Loading branch information
melund authored Apr 19, 2024
1 parent de80ae8 commit 83fcaac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/conventional-commits-in-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:

jobs:
validate-pr-title:
if: ${{ contains(github.event.pull_request.labels.*.name, 'safe to test') && github.event.pull_request.head.repo.fork }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'safe to test') || !github.event.pull_request.head.repo.fork }}
permissions:
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: PR Conventional Commit Validation
uses: ytanikin/PRConventionalCommits@8d258b5
uses: ytanikin/PRConventionalCommits@8d258b54939f6769fcd935a52b96d6b0383a00c5
with:
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'
custom_labels: '{"feat": "feature", "fix": "fix", "docs": "documentation", "test": "test", "ci": "CI/CD", "refactor": "refactor", "perf": "performance", "chore": "chore", "revert": "revert", "wip": "WIP"}'

0 comments on commit 83fcaac

Please sign in to comment.