diff --git a/.github/workflows/labeller.yml b/.github/workflows/labeller.yml index 047bbf8..ee149bf 100644 --- a/.github/workflows/labeller.yml +++ b/.github/workflows/labeller.yml @@ -1,22 +1,27 @@ -name: community-labeller +name: Labeller on: issues: types: - - "opened" + - opened + - labeled + - unlabeled pull_request_target: types: - - "opened" + - opened + - labeled + - unlabeled jobs: label: - runs-on: "ubuntu-latest" + runs-on: ubuntu-latest steps: - - uses: "puppetlabs/community-labeller@v0" - name: "Label issues or pull requests" + - uses: puppetlabs/community-labeller@v1.0.1 + name: Label issues or pull requests with: - label_name: "community" + label_name: community label_color: '5319e7' - org_membership: "puppetlabs" + org_membership: puppetlabs + fail_if_member: 'true' token: ${{ secrets.IAC_COMMUNITY_LABELER }}