Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
meriy100 committed Jan 11, 2024
1 parent 58d52cd commit 9e664af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/actions/release-by-release-pr/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ runs:
steps:
- name: validate event type
run: |
if ${{ github.event.pull_request.merged && startsWith(github.head_ref, 'release/') }}; then
:
if ${{ startsWith(github.head_ref, 'fix-') }}; then
echo "ok";
exit 1
else
echo "This action is only available in the merge event of a Release PullRequest.";
exit 1;
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/check-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ jobs:
- uses: ./.github/actions/validate-pr-title
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: ./.github/actions/release-by-release-pr
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9e664af

Please sign in to comment.