Skip to content

Commit

Permalink
Merge pull request #46 from kunai-consulting/linear-soc2
Browse files Browse the repository at this point in the history
fix: get correct pr title
  • Loading branch information
thejackshelton-kunaico authored Aug 23, 2024
2 parents 400cf53 + 782592d commit 43f2cbb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/sync-pr-to-linear.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,14 @@ jobs:
steps:
- name: 🔍 Check PR Title
id: check-pr-title
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.issue.number }}
run: |
PR_TITLE=$(gh pr view $PR_NUMBER --json title -q .title)
PR_TITLE="${{ github.event.issue.title }}"
if [[ $PR_TITLE == *"Release v"* ]]; then
echo "is_release_pr=true" >> $GITHUB_OUTPUT
else
echo "is_release_pr=false" >> $GITHUB_OUTPUT
fi
shell: bash

sync-comments:
name: 🔄 Sync Comments
Expand Down

0 comments on commit 43f2cbb

Please sign in to comment.