Skip to content

feat(CI): display conflicts on cherry-pick action PRs #9952

feat(CI): display conflicts on cherry-pick action PRs

feat(CI): display conflicts on cherry-pick action PRs #9952

name: Link and Lint PR with Jira Ticket Number
on:
merge_group:
pull_request:
types: [opened, edited, synchronize]
jobs:
add-jira-description:
runs-on: ubuntu-latest
# Run only if the PR is not from a Fork / external contributor
if: (!startsWith(GITHUB_REF, 'refs/heads/dependabot/') && github.repository_owner == 'wireapp')

Check failure on line 10 in .github/workflows/jira-lint-and-link.yml

View workflow run for this annotation

GitHub Actions / Link and Lint PR with Jira Ticket Number

Invalid workflow file

The workflow is not valid. .github/workflows/jira-lint-and-link.yml (Line: 10, Col: 9): Unrecognized named-value: 'GITHUB_REF'. Located at position 14 within expression: (!startsWith(GITHUB_REF, 'refs/heads/dependabot/') && github.repository_owner == 'wireapp')
steps:
- uses: cakeinpanic/[email protected]
name: jira-description-action
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
jira-token: ${{ secrets.JIRA_TOKEN }}
jira-base-url: https://wearezeta.atlassian.net
skip-branches: '^(production-release|main|master|release\/v\d+)$' #optional
fail-when-jira-issue-not-found: false