/debug-artifact

Save the event payload and `env` from a GitHub action run and easily download them

Primary LanguageJavaScriptMIT LicenseMIT

Debug Artifacts

Uploads the event.json file and environment variables as an artifact for each GitHub Action run

Example Artifacts

Usage

name: Debug Artifacts
on: push

jobs:
  debug-artifacts:
    name: Debug Artifacts
    runs-on: ubuntu-latest
    steps:
      - name: Debug Artifacts
        uses: mheap/debug-artifact@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Available Configuration

Environment Variables

Name Description
GITHUB_TOKEN The GitHub auth token, used to authenticate API requests. Use the value provided in ${{ secrets.GITHUB_TOKEN }}