diff --git a/.github/workflows/command-dispatch.yml b/.github/workflows/command-dispatch.yml new file mode 100644 index 00000000..b7269a64 --- /dev/null +++ b/.github/workflows/command-dispatch.yml @@ -0,0 +1,17 @@ +name: Slash Command Dispatch +on: + issue_comment: + types: [created] +jobs: + slashCommandDispatch: + runs-on: ubuntu-latest + steps: + - name: Slash Command Dispatch + uses: peter-evans/slash-command-dispatch@v1 + with: + token: ${{ secrets.EMBERIO_ACCESS_TOKEN }} + commands: help, build + repository: embercsi/3rd-party-ci + issue-type: pull-request + reactions: false + # permission: write diff --git a/.gitignore b/.gitignore index 11c2b392..c83dbed6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # Byte-compiled / optimized / DLL files .* !.gitignore +!.github/ !.travis.yml .*.sw? __pycache__/ diff --git a/hooks/build b/hooks/build index 63c9827c..fe1e3a12 100755 --- a/hooks/build +++ b/hooks/build @@ -1,5 +1,6 @@ #!/usr/bin/env bash set -e +set -x EMBER_VERSION=`git describe --tags` diff --git a/hooks/push b/hooks/push index b71bc8b5..a6759c35 100755 --- a/hooks/push +++ b/hooks/push @@ -1,5 +1,6 @@ #!/usr/bin/env bash set -e +set -x # Push ember-csi master branches if [ "$SOURCE_BRANCH" == "master" ]