name: Mark issue as planned

on:
  issues: {types: milestoned}

jobs:
  apply-label:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/github-script@0.3.0
        name: Add label 'status planned' to issue when milestoned
        with:
          github-token: ${{github.token}}
          script: |
            github.issues.addLabels({...context.issue, labels: ['status: planned']})

name: Mark issue as planned

on:
  issues: {types: milestoned}

jobs:
  apply-label:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/github-script@v2
        name: Add label 'status planned' to issue when milestoned
        with:
          github-token: ${{github.token}}
          script: |
            github.issues.addLabels({...context.issue, labels: ['status: planned']})

Bump actions/github-script from 0.3.0 to v2
Bump actions/github-script from 0.3.0 to v2

Bumps [actions/github-script](https://github.com/actions/github-script) from 0.3.0 to v2.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/0.3.0...6e5ee1dc1cb3740e5e5e76ad668e3f526edbfe45)

Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@github.com>