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

Cannot read property 'number' of undefined #6

Open
mittalyashu opened this issue Jan 17, 2020 · 4 comments
Open

Cannot read property 'number' of undefined #6

mittalyashu opened this issue Jan 17, 2020 · 4 comments

Comments

@mittalyashu
Copy link

.github/workflows/label.yml

name: Remove label on PR merge

on: 
  pull_request:
    types: [closed]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
     - uses: andymckay/[email protected]
       with:
          repo-token: "${{ secrets.GITHUB_TOKEN }}"
          remove-labels: "work in progress, ready to merge"
> Run andymckay/[email protected]
TypeError: Cannot read property 'number' of undefined
    at label (/home/runner/work/_actions/andymckay/labeler/1.0.2/label.js:21:45)
    at Object.<anonymous> (/home/runner/work/_actions/andymckay/labeler/1.0.2/label.js:57:1)
    at Module._compile (internal/modules/cjs/loader.js:959:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Function.Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10)
    at internal/main/run_main_module.js:17:11
@danilchican
Copy link

@mittalyashu , Did you fix it?

@mittalyashu
Copy link
Author

I haven’t tried after that.

@danilchican
Copy link

danilchican commented Mar 26, 2020

I haven’t tried after that.

@mittalyashu I found another repo for the task. And will start to write my own action for doing this

@rodrigondec
Copy link
Contributor

@andymckay this issue was fixed on #11. Was it not?

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.

3 participants