File tree Expand file tree Collapse file tree 3 files changed +33
-0
lines changed
Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM node:18-bookworm-slim
2+
3+ # going headless
4+ ENV DEBIAN_FRONTEND=noninteractive
5+
6+ COPY . /app/
7+ COPY ./entrypoint.sh /entrypoint.sh
8+
9+ RUN cd /app && npm install --omit=dev
10+
11+ ENTRYPOINT ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change 1+ name : ' GitHub GraphQL Client'
2+ description : ' Perform multi-file signed commits on a GitHub repo through their GraphQL APIs.'
3+ branding :
4+ icon : edit-3
5+ color : gray-dark
6+ inputs :
7+ args :
8+ description : ' Arguments to pass to the Dockerfile entrypoint.'
9+ required : true
10+ default : ' --help'
11+ runs :
12+ using : ' docker'
13+ image : ' Dockerfile'
14+ # env:
15+ # GITHUB_TOKEN is already available in the action container context
16+ # but be sure that it has 'writer' permissions on the target repository.
17+ args :
18+ - ${{ inputs.args }}
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -e
4+ node /app/github.js $@
You can’t perform that action at this time.
0 commit comments