google / skywater-pdk

Open source process design kit for usage with SkyWater Technology Foundry's 130nm node.
https://skywater-pdk.rtfd.io
Apache License 2.0
2.99k stars 391 forks source link

Set up auto labeling of pull requests using github actions #36

Closed mithro closed 4 years ago

mithro commented 4 years ago

A lot of the labels for a pull request could be automatically detected by the contents of the pull request.

Previously I have used the Probot Autolabler (and https://github.com/mithro/autolabeler) but the new way to do this seems to be with GitHub actions.

mithro commented 4 years ago

The pull request at https://github.com/google/skywater-pdk/pull/38 change the GitHub labels to be managed by GitHub action workflow.

mithro commented 4 years ago

The top GitHub action called labeler has the following caveat;

Note that only pull requests being opened from the same repository can be labeled. This action will not currently work for pull requests from forks -- like is common in open source projects -- because the token for forked pull request workflows does not have write permissions.

Which means it currently can not be used by us, as this is how we do pull requests.

mithro commented 4 years ago

I ended up setting up Probot Autolabeler in #39

I opened #41 to track converting to a GitHub actions based flow in the future.