Skip to content

Commit 3f81899

Browse files
fix: bug with incorrect action path (#1866)
Co-authored-by: GitHub Action <action@github.com>
1 parent 67a1f54 commit 3f81899

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export async function run(): Promise<void> {
258258
core.info("Using GitHub's REST API to get changed files")
259259
if (process.env.GITHUB_ACTION_PATH) {
260260
await warnUnsupportedRESTAPIInputs({
261-
actionPath: process.env.GITHUB_ACTION_PATH,
261+
actionPath: path.join(process.env.GITHUB_ACTION_PATH, 'action.yml'),
262262
inputs
263263
})
264264
}

0 commit comments

Comments
 (0)