Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: Janek Nouvertné <25355197+provinzkraut@users.noreply.github.com>
  • Loading branch information
provinzkraut committed Dec 3, 2023
1 parent d1dcb10 commit 5b2bdba
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/pr-meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
name: Validate PR title and target
runs-on: ubuntu-latest
steps:
# - uses: amannn/action-semantic-pull-request@v5
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Check PR target
run: echo ${{ github.event.pull_request.title }} ${{ github.base_ref }}
# if: ${{ startsWith(github.event.pull_request.title, "feat") && github.base_ref != "develop" }}
# uses: actions/github-script@v3
# with:
# script: |
# core.setFailed('Invalid target branch for feature PR')
if: ${{ startsWith(github.event.pull_request.title, "feat") && github.base_ref != "develop" }}
uses: actions/github-script@v3
with:
script: |
core.setFailed('Invalid target branch for feature PR')

0 comments on commit 5b2bdba

Please sign in to comment.