Skip to content

octopus: .github: add workflow for adding label and milestone#39890

Merged
tchaikov merged 8 commits intoceph:octopusfrom
tchaikov:octopus-github-milestone
Mar 9, 2021
Merged

octopus: .github: add workflow for adding label and milestone#39890
tchaikov merged 8 commits intoceph:octopusfrom
tchaikov:octopus-github-milestone

Conversation

@tchaikov
Copy link
Contributor

@tchaikov tchaikov commented Mar 6, 2021

Signed-off-by: Kefu Chai kchai@redhat.com
(cherry picked from commit 1657a44)

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@tchaikov tchaikov force-pushed the octopus-github-milestone branch from c1f895d to 75e33ce Compare March 6, 2021 16:40
@tchaikov tchaikov changed the title .github: add workflow for adding milestone octopus: .github: add workflow for adding milestone Mar 6, 2021
@tchaikov tchaikov added this to the octopus milestone Mar 6, 2021
epuertat and others added 7 commits March 9, 2021 03:50
... 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)
@tchaikov tchaikov force-pushed the octopus-github-milestone branch from 75e33ce to 87efeba Compare March 8, 2021 19:51
@tchaikov tchaikov changed the title octopus: .github: add workflow for adding milestone octopus: .github: add workflow for adding label and milestone Mar 8, 2021
otherwise the action cannot be found

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit ae8ea10)
@tchaikov tchaikov merged commit 1ff7d24 into ceph:octopus Mar 9, 2021
@tchaikov tchaikov deleted the octopus-github-milestone branch March 9, 2021 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants