Skip to content

Commit

Permalink
Create event_logger.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NorthernMan54 committed Nov 28, 2024
1 parent 6634a02 commit 4d9ff3e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/event_logger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Event Logger"

on:
release:
workflow_run:

jobs:
release_logger:
# allows for both the workflow_dispatch and push events to trigger this job
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"

- name: Variables
run: |
echo "::notice:: event_name: ${{ github.event_name }}"
echo "::notice:: event_action: ${{ github.event.action }}"

0 comments on commit 4d9ff3e

Please sign in to comment.