Skip to content

Is there any way to if condition of issue's name? #25942

Answered by ghost
ghost asked this question in Actions
Discussion options

You must be logged in to vote

I self resolved

name is not available

jobs:
  automate-project-columns:
    runs-on: ubuntu-latest
    steps:
  - name: task
    if: contains( github.event.issue.title, 'task')
    uses: alex-page/github-project-automation-plus@v0.2.4
    with:
      project: task
      column: To do
      repo-token: ${{ secrets.GH_TOKEN }}

  - name: test
    if: contains(github.event.issue.title, 'test')
    uses: alex-page/github-project-automation-plus@v0.2.4
    with:
      project: test
      column: To do
      repo-token: ${{ secrets.GH_TOKEN }}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
0 participants