Skip to content

Commit

Permalink
Test action
Browse files Browse the repository at this point in the history
  • Loading branch information
rreynier committed Oct 9, 2024
1 parent bc7060d commit 452f8e5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ inputs:
checklist_path:
description: 'Path of checklist location relative to the context of files available in the runner'
default: "./.github/checklist.md"
required: false
required: true
repo_token:
description: "A GitHub token for API access. Defaults to {{ github.token }}."
default: "${{ github.token }}"
required: true
runs:
using: 'node20'
main: 'index.js'
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ const fs = require("fs/promises");
const github = require('@actions/github');

const checklistPath = core.getInput('checklist_path');
const repoToken = core.getInput('repo_token');
const octokit = github.getOctokit(repoToken);

(async () => {
try {
Expand Down

0 comments on commit 452f8e5

Please sign in to comment.