Skip to content

unnecessary push

unnecessary push #5

name: log github events
on:
push:
branches: [actions/*]
pull_request:
types: [opened, closed]
branches: [actions/*]
jobs:
log:
runs-on: ubuntu-latest
env:
COMMIT_LOG_API: ${{ secrets.COMMIT_LOG_API }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # this is important so git fetches all history.. the actions/checkout by default fetches all history as one commit which throws off stats
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
echo "github CONTEXT values:"
echo "$GITHUB_CONTEXT"