Skip to content

only show base64 github.token if in debug mode #13

only show base64 github.token if in debug mode

only show base64 github.token if in debug mode #13

Workflow file for this run

name: Test action
on:
push:
branches: "main"
paths-ignore:
- README.md
- LICENSE
- .gitignore
- .github/**
- "!.github/workflows/test-action.yml"
pull_request:
paths-ignore:
- README.md
- LICENSE
- .gitignore
- .github/**
- "!.github/workflows/test-action.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-action:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
- run: npm install
- run: npm run build
- id: main
uses: ./
- shell: jq -C . {0}
run: ${{ toJSON(steps.main.outputs) }}
- run: git config --list --show-origin
working-directory: ${{ runner.temp }}
- if: runner.debug
run: git config --list --show-origin | base64
working-directory: ${{ runner.temp }}
- run: git clone https://github.com/actions4git/setup-git.git
working-directory: ${{ runner.temp }}