Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guy Testing message #21

Merged
merged 9 commits into from
Feb 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 29 additions & 6 deletions .github/workflows/diem-dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,39 @@ jobs:
# We need to fetch with a depth of 2 for pull_request so we can do HEAD^2
fetch-depth: 2

- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Dump job context
env:
JOB_CONTEXT: ${{ toJSON(job) }}
run: echo "$JOB_CONTEXT"
- name: Dump env context
env:
ENV_CONTEXT: ${{ toJSON(job) }}
run: echo "$ENV_CONTEXT"
- name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJson(steps) }}
STEPS_CONTEXT: ${{ toJSON(steps) }}
run: echo "$STEPS_CONTEXT"

- name: Dump env
- name: Dump runner context
env:
ENV_CONTEXT: ${{ toJson(process.env) }}
run: echo "$ENV_CONTEXT"
RUNNER_CONTEXT: ${{ toJSON(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJSON(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJSON(matrix) }}
run: echo "$MATRIX_CONTEXT"

- name: Get Commit Message
run: |
MSG=$(git log --format=%B -n 1 ${{ github.event.after }})
echo "${MSG}"

- uses: 8398a7/action-slack@v3
with:
Expand All @@ -55,7 +79,6 @@ jobs:
username: 'Diem GitHub Action',
icon_emoji: ':diem:',
channel: '#diem-ci',
author_name: 'Diem CI',
attachments: [{
color: '${{ job.status }}' === 'success' ? 'good' : '${{ job.status }}' === 'failure' ? 'danger' : 'warning',
text: `${process.env.AS_WORKFLOW} of ${process.env.AS_AUTHOR.split(/[<@]/)[1]}'s "${process.env.AS_MESSAGE}" in ${process.env.AS_REF.replace('refs/heads/', '')} ${'${{ job.status }}' === 'success' ? 'succeeded' : '${{ job.status }}' === 'failure' ? 'failed' : '${{ job.status }}'} in ${process.env.AS_TOOK}`,
Expand Down
2 changes: 1 addition & 1 deletion applications/dashboard/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "dashboard-ui",
"description": "Home Module for Leap",
"version": "1.0.8",
"version": "1.0.1",
"author": "[email protected]",
"config": {
"sitename": "Expo",
Expand Down