Skip to content

Commit d13e5db

Browse files
committed
Debug layer
1 parent b93ba11 commit d13e5db

File tree

4 files changed

+29
-0
lines changed

4 files changed

+29
-0
lines changed

.github/workflows/spelling.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
- uses: actions/checkout@v2.0.0
1010
with:
1111
fetch-depth: 2
12+
- uses: ./
1213
- uses: check-spelling/check-spelling@0.0.1-alpha
1314
env:
1415
bucket: ssh://git@github.com/check-spelling/examples.git

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM debian:9.5-slim
2+
3+
RUN DEBIAN_FRONTEND=noninteractive apt-get -qq update < /dev/null > /dev/null
4+
RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq curl git jq < /dev/null > /dev/null
5+
WORKDIR /app
6+
COPY debug.sh debug.sh
7+
8+
ENTRYPOINT ["/app/debug.sh"]

action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: 'Debug'
2+
description: 'Debug'
3+
author: 'jsoref'
4+
runs:
5+
using: 'docker'
6+
image: 'Dockerfile'

debug.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/sh
2+
set +x
3+
env
4+
cat $GITHUB_EVENT_PATH
5+
6+
echo
7+
8+
cat $GITHUB_EVENT_PATH | jq -r '.pull_request.base.repo.sha'
9+
10+
git log --oneline --graph --all
11+
12+
git fetch --unshallow
13+
14+
git log --oneline --graph --all

0 commit comments

Comments
 (0)