diff --git a/.github/workflows/event_logger.yml b/.github/workflows/event_logger.yml new file mode 100644 index 00000000..df128ed1 --- /dev/null +++ b/.github/workflows/event_logger.yml @@ -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 }}"