integrations-core icon indicating copy to clipboard operation
integrations-core copied to clipboard

Use official labeler GH action

Open fanny-jiang opened this issue 3 years ago • 3 comments

What does this PR do?

Switch to use the official actions/labeler GitHub Action to apply PR labels to incoming PRs.

Motivation

Improvements for PRs made from forked repositories.

Additional Notes

The actions/labeler docs indicate using the pull_request_target event trigger for workflows: https://github.com/actions/labeler#create-workflow

Security Considerations:

  • The pull_request_target event trigger grants repo read/write permissions to the GH token unless the permissions key is configured
  • Workflow permissions key is configured to grant minimal contents: read and pull-requests: write permissions
  • Workflow does not checkout code nor save cached data

Review checklist (to be filled by reviewers)

  • [ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • [ ] PR title must be written as a CHANGELOG entry (see why)
  • [ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
  • [ ] PR must have changelog/ and integration/ labels attached

fanny-jiang avatar Jul 19 '22 19:07 fanny-jiang

Label changelog/Changed was added to this Pull Request, so the next release will bump major version. Please make sure this is a breaking change, or use the changelog/Fixed label.

github-actions[bot] avatar Jul 25 '22 16:07 github-actions[bot]

Label changelog/Changed was added to this Pull Request, so the next release will bump major version. Please make sure this is a breaking change, or use the changelog/Fixed label.

github-actions[bot] avatar Jul 25 '22 16:07 github-actions[bot]

Label changelog/Changed was added to this Pull Request, so the next release will bump major version. Please make sure this is a breaking change, or use the changelog/Fixed label.

github-actions[bot] avatar Jul 25 '22 16:07 github-actions[bot]

Codecov Report

Merging #12546 (6e763db) into master (77eadb9) will not change coverage. The diff coverage is n/a.

Flag Coverage Δ
arangodb 98.21% <ø> (ø)
calico 83.33% <ø> (ø)
citrix_hypervisor 87.50% <ø> (ø)
ddev 97.99% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

codecov[bot] avatar Aug 18 '22 15:08 codecov[bot]

The validations job has failed; please review the Files changed tab for possible suggestions to resolve.

github-actions[bot] avatar Aug 23 '22 22:08 github-actions[bot]

The validations job has failed; please review the Files changed tab for possible suggestions to resolve.

github-actions[bot] avatar Aug 23 '22 22:08 github-actions[bot]

Label changelog/Changed was added to this Pull Request, so the next release will bump major version. Please make sure this is a breaking change, or use the changelog/Fixed label.

github-actions[bot] avatar Aug 24 '22 18:08 github-actions[bot]

The validations job has failed; please review the Files changed tab for possible suggestions to resolve.

github-actions[bot] avatar Aug 24 '22 21:08 github-actions[bot]