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
3388af39
Unverified
Commit
3388af39
authored
Oct 12, 2020
by
Ivan Vandot
Committed by
GitHub
Oct 12, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable github app integration for slash commands (#832)
parent
6c435112
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
20 deletions
+4
-20
slash-beekeeper.yml
.github/workflows/slash-beekeeper.yml
+4
-20
No files found.
.github/workflows/slash-beekeeper.yml
View file @
3388af39
name
:
Slash Beekeeper
on
:
issue_comment
:
types
:
[
created
]
repository_dispatch
:
types
:
[
beekeeper
]
jobs
:
beekeeper
:
name
:
Execute "/beekeeper" slash command
if
:
github.event.issue.pull_request != '' && contains(github.event.comment.body, '/beekeeper')
name
:
Execute "/run beekeeper" slash command
env
:
REPLICA
:
3
runs-on
:
ubuntu-latest
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-name == '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
uses
:
actions/checkout@v2
with
:
ref
:
${{
steps.comment-branch.outputs
.ref }}
ref
:
${{
github.event.client_payload
.ref }}
fetch-depth
:
1
-
name
:
Install bee-local
run
:
|
...
...
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