message: Update Changelog Labels
diff: @@ -14,7 +14,14 @@ jobs:
  steps:
  - uses: actions/checkout@v2
  + - name: Labeled to Changelog:-None?
  + id: haslabel
  + uses: DanielTamkin/HasLabel@v1.0.4
  + with:
  + contains: 'Changelog: None'
  +
  - name: Check for updates to CHANGELOG.md
  + if: steps.haslabel.outputs.labeled-Changelog:-None != true
  id: changelog_check
  uses: technote-space/get-diff-action@v4
  with:
  @@ -22,18 +29,18 @@ jobs:
  CHANGELOG.md
  - name: No CHANGELOG.md Update
  - if: (steps.changelog_check.outputs.insertions == 0)
  + if: (steps.changelog_check.outputs.insertions == 0 && steps.haslabel.outputs.labeled-Changelog:-None != true)
  uses: christianvuerings/add-labels@v1
  with:
  labels: |
  - no changelog
  + Changelog: Missing
  env:
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  - name: CHANGELOG.md Updated
  - if: (steps.changelog_check.outputs.insertions > 0)
  + if: (steps.changelog_check.outputs.insertions > 0 && steps.haslabel.outputs.labeled-Changelog:-None != true)
  uses: mondeja/remove-labels-gh-action@v1
  with:
  token: ${{ secrets.GITHUB_TOKEN }}
  labels: |
  - no changelog
  + Changelog: Applied
  