Skip to content

Commit

Permalink
fix extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
stepanLav committed Nov 7, 2023
1 parent 764b9a8 commit 71aba70
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/update-entrypoint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Payload extraction
id: payload
run: |
echo "VERSION=${{ fromJSON(github.event.client_payload).version }}" >> $GITHUB_ENV
echo "COMMENT_LINK=${{ fromJSON(github.event.client_payload).comment_link }}" >> $GITHUB_ENV
echo "TIME=${{ fromJSON(github.event.client_payload).time }}" >> $GITHUB_ENV
echo "SEVERITY=${{ fromJSON(github.event.client_payload).severity }}" >> $GITHUB_ENV
echo "VERSION=${{ github.event.client_payload.version }}" >> $GITHUB_ENV
echo "COMMENT_LINK=${{ github.event.client_payload.comment_link }}" >> $GITHUB_ENV
echo "TIME=${{ github.event.client_payload.time }}" >> $GITHUB_ENV
echo "SEVERITY=${{ github.event.client_payload.severity }}" >> $GITHUB_ENV
- name: Fetch comment body and save to file
run: |
Expand All @@ -49,9 +48,6 @@ jobs:
alert:
runs-on: ubuntu-latest
needs: [create-pr-to-update]
if: always()
env:
GITHUB_WORKFLOW_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
steps:
- name: Report
uses: appleboy/telegram-action@master
Expand Down

0 comments on commit 71aba70

Please sign in to comment.