summaryrefslogtreecommitdiffstats
path: root/.github/workflows/labeler.yml
AgeCommit message (Collapse)Author
2023-12-14Bump actions/labeler from 4 to 5 (#16576)dependabot[bot]
* Bump actions/labeler from 4 to 5 Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5. - [Release notes](https://github.com/actions/labeler/releases) - [Commits](https://github.com/actions/labeler/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/labeler dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Update config file format to account for incompatible changes. * Properly fix the labeler config. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Austin S. Hemmelgarn <austin@netdata.cloud>
2023-02-08Fix the concurrency group name for PR labeler workflow. (#14460)Austin S. Hemmelgarn
Instead of flagging on the git ref for the run, flag on the repository ID and PR number. This ensures that previous runs get cancelled only for the correct PR when a new run is triggered. This should fix the seemingly random cases of PR labeler runs being cancelled for no apparent reason on our PRs.
2023-01-04Switch to actions/labeler@v4 for labeling PRs. (#14203)Austin S. Hemmelgarn
This has a number of advantages: - It allows us to make PR labeling event-driven instead of polling. This, in turn, means that it only runs when a PR is modified, and only evaluates that specific PR, which results in spending far less time running PR labeler jobs. - This is the ‘official’ way to handle PR labels automatically as code, and thus Ilya will no longer need to maintain a custom labeling action for this purpose. - The matching syntax supported by this action is more expressive than what is supported by our existing infrastructure, allowing for things sucha s requring all of a group of files to be modified in a PR for it to have a specific label applied. We have no need right now for this, but it is useful to have it available long-term. - Because the labeling is PR-triggered, it shows up in the PR checks, so we can more easily see if auto-labeling has run for a given PR or not.
2022-02-15rename DO_NOT_TRACK to DISABLE_TELEMETRY (#12126)Ilya Mashchenko
2021-10-21ci: remove concurrency for labeler (#11691)Ilya Mashchenko
2021-10-13Add concurency limits on GHA workflows. (#11656)Austin S. Hemmelgarn
2021-06-15Disable telemetry in CI. (#11233)Austin S. Hemmelgarn
It skews our data in (probably) strange ways.
2020-02-13github/actions: update labeler config and bump version (#8071)Ilya Mashchenko
* github/labeler: add Dockerfile* pattern to area/packaging label * github/labeler: switch to v0.1.0
2020-02-11github/workflow: change labeler (#8032)Ilya Mashchenko
* .github/workflow: switch from paulfantom/periodic-labeler to ilyam8/periodic-pr-labeler * .github/labeler: backends pattern fix
2020-01-17Limit PR labeler runs to the main repo. (#7768)Austin S. Hemmelgarn
2020-01-09Update PR labeling to not depend on fork owner access. (#7699)Austin S. Hemmelgarn
This updates the PR labeling via GHA to not depend on the access level of the owner of the PR relative to the repository, which should finally make it work correctly.
2020-01-09Switch to using the netdatabot access token for actions. (#7697)Austin S. Hemmelgarn
This updates the access token in the labeler action to use permissions of the netdatabot account instead of using the generic access token provided by GitHub. This allows the labeling to work correctly even for forks owned by people who do not have write access to the repo.
2020-01-08Switch PR labeling to use GitHub Actions. (#7630)Austin S. Hemmelgarn
This decouples the PR labeling process from the main CI process, allowing them to run completely independenly of each other. The new labeling configuration is based on copying, extending, and correcting the existing labeling rules in the `labeler.sh` script which the commit is removing. Labeling is configured through `.github/labeler.yml` file. Check there for info on the exact format. The exact configuration being used will update labels on PR's whenever one is opened, updated, reopened, or marked ready for review. It will not remove existing labels from the PR, only add new ones.