diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index 0b114eb..2c88152 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -8,14 +8,16 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + - run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)" + id: slug - name: Chat Setup uses: DTherHtun/google-chat-action@v0.6 with: project: ${{ github.repository }} - commit: ${{ github.sha }} + commit: ${{ steps.slug.outputs.sha8 }} branch: ${{ github.ref }} status: ${{ job.status }} - actionid: ${{ github.action }} + actionid: ${{ github.run.id }} webhook: "https://chat.googleapis.com/v1/spaces/AAAAzPcAy4s/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=MmdzluicdrdkyUAV_QwB6BzlLcIhbfrwNzxVrEllaec%3D&threadKey=git-commit"