Skip to content
This repository has been archived by the owner on Oct 8, 2022. It is now read-only.

Cannot read number of 'undefined' Project Card event #12

Closed
rodrigondec opened this issue May 6, 2020 · 0 comments · Fixed by #13
Closed

Cannot read number of 'undefined' Project Card event #12

rodrigondec opened this issue May 6, 2020 · 0 comments · Fixed by #13

Comments

@rodrigondec
Copy link
Contributor

The same error happen from issue #6 when this action is called with project_card event. I would like to use it to add a label to my issue from a project_car event.

name: project-automation

on:
  project_card:
    types: [moved]

jobs:
  automate-issues-labels:
    runs-on: ubuntu-latest
    steps:
      - name: label issues from 'In progress'
        uses: andymckay/[email protected]
        if: |
          github.event_name == 'project_card' &&
          (
            github.event.project_card.column_id == 9034006
          )
        with:
          repo-token: ${{secrets.GH_TOKEN}}
          add-labels: "c"

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant