octopus: .github: add workflow for adding label and milestone#39890
Merged
tchaikov merged 8 commits intoceph:octopusfrom Mar 9, 2021
Merged
octopus: .github: add workflow for adding label and milestone#39890tchaikov merged 8 commits intoceph:octopusfrom
tchaikov merged 8 commits intoceph:octopusfrom
Conversation
c1f895d to
75e33ce
Compare
... starting with dashboard ones. Requires https://github.com/marketplace/actions/labeler Signed-off-by: Ernesto Puerta <epuertat@redhat.com> (cherry picked from commit 298bc67)
Yaml syntax cleaned too. Fixes: ceph#38107 (comment) Signed-off-by: Ernesto Puerta <epuertat@redhat.com> (cherry picked from commit 59702b6)
Signed-off-by: Kefu Chai <kchai@redhat.com> (cherry picked from commit 1657a44)
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> (cherry picked from commit c5f6d15)
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> (cherry picked from commit 98b9018)
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> (cherry picked from commit 79e8038)
to reflect the change in the actions in it. Signed-off-by: Kefu Chai <kchai@redhat.com> (cherry picked from commit 453cd5f)
75e33ce to
87efeba
Compare
otherwise the action cannot be found Signed-off-by: Kefu Chai <kchai@redhat.com> (cherry picked from commit ae8ea10)
3 tasks
epuertat
approved these changes
Mar 9, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Kefu Chai kchai@redhat.com
(cherry picked from commit 1657a44)
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox