Kefu Chai
ae8ea10f41
.github/workflows: use a released sha1
...
otherwise the action cannot be found
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-09 12:16:26 +08:00
Kefu Chai
453cd5fd60
.github/workflows: rename labeler.yml to pr-triage.yml
...
to reflect the change in the actions in it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-09 02:46:48 +08:00
Kefu Chai
79e8038046
.github/workflows: use @{sha1} for actions
...
more secure this way. see also https://julienrenaux.fr/2019/12/20/github-actions-security-risk/
point the sha1 to
* labeler@v3
* milestone@main HEAD
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-09 02:46:10 +08:00
Kefu Chai
98b9018979
.github/workflows: move milestone.yml into labeler.yml
...
no need to have two actions triggered by the same event.
we could backport this labeler.yml to LTS branches.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-09 02:45:52 +08:00
Kefu Chai
c5f6d15e36
.github: correct the regex in mileston workflow
...
also use pull_request_target event so the action is run in the
context of the base of the pull request. this helps us to overcome
the "Resource not accessible by integration" issue where the action
is run in the context of the pull request.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-07 00:32:44 +08:00
Kefu Chai
1657a44750
.github: add workflow for adding milestone
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-06 21:36:53 +08:00
Ernesto Puerta
4c6bd8dd3b
github: add action to manage needs-rebase label
...
Fixes: https://tracker.ceph.com/issues/48570
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2020-12-15 19:09:28 +01:00
Ernesto Puerta
59702b6198
github/labeler: disable sync-labels
...
Yaml syntax cleaned too.
Fixes: https://github.com/ceph/ceph/pull/38107#issuecomment-729300615
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2020-11-18 13:15:41 +01:00
Ernesto Puerta
298bc67f7b
github: autolabel PRs
...
... starting with dashboard ones.
Requires https://github.com/marketplace/actions/labeler
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2020-11-12 19:06:28 +01:00