Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mybee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
mybee
Commits
2c41dffc
Unverified
Commit
2c41dffc
authored
Oct 09, 2020
by
Ivan Vandot
Committed by
GitHub
Oct 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable beekeeper slash cmd (#822)
parent
d619f5c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
10 deletions
+20
-10
beekeeper.yml
.github/workflows/beekeeper.yml
+20
-2
go.yml
.github/workflows/go.yml
+0
-8
No files found.
.github/workflows/beekeeper.y
a
ml
→
.github/workflows/beekeeper.yml
View file @
2c41dffc
name
:
Beekeeper
name
:
Beekeeper
on
:
on
:
repository_dispatch
:
issue_comment
:
types
:
[
trigger-beekeeper
]
types
:
[
created
]
jobs
:
jobs
:
beekeeper
:
beekeeper
:
name
:
Execute "/beekeeper" slash command
if
:
github.event.issue.pull_request != '' && contains(github.event.comment.body, '/beekeeper')
env
:
env
:
REPLICA
:
3
REPLICA
:
3
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
name
:
Check for Command
id
:
command
uses
:
xt0rted/slash-command-action@v1
with
:
repo-token
:
${{ secrets.GITHUB_TOKEN }}
command
:
beekeeper
reaction-type
:
"
rocket"
-
name
:
Get PR Branch
if
:
steps.command.outputs.command-arguments == 'beekeeper'
id
:
comment-branch
uses
:
xt0rted/pull-request-comment-branch@v1
with
:
repo_token
:
${{ secrets.GITHUB_TOKEN }}
-
name
:
Echo command (debug)
run
:
echo "The command was '${{ steps.command.outputs.command-name }}' with arguments '${{ steps.command.outputs.command-arguments }}'"
-
name
:
Checkout
-
name
:
Checkout
uses
:
actions/checkout@v2
uses
:
actions/checkout@v2
with
:
with
:
ref
:
${{ steps.comment-branch.outputs.ref }}
fetch-depth
:
1
fetch-depth
:
1
-
name
:
Install bee-local
-
name
:
Install bee-local
run
:
|
run
:
|
...
...
.github/workflows/go.yml
View file @
2c41dffc
...
@@ -68,11 +68,3 @@ jobs:
...
@@ -68,11 +68,3 @@ jobs:
./bin/deepsource report --analyzer test-coverage --key go --value-file ./cover.out
./bin/deepsource report --analyzer test-coverage --key go --value-file ./cover.out
env
:
env
:
DEEPSOURCE_DSN
:
${{ secrets.DEEPSOURCE_DSN }}
DEEPSOURCE_DSN
:
${{ secrets.DEEPSOURCE_DSN }}
-
name
:
Trigger Beekeeper
if
:
github.ref == 'refs/heads/master' && matrix.os == 'ubuntu-latest' && success()
uses
:
peter-evans/repository-dispatch@v1
with
:
token
:
${{ secrets.REPO_GHA_PAT }}
repository
:
${{ github.repository }}
event-type
:
trigger-beekeeper
client-payload
:
'
{"ref":
"${{
github.ref
}}",
"sha":
"${{
github.sha
}}"}'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment